projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c69b66
)
Remove unneeded import
author
Éric Araujo
<merwok@netwok.org>
Thu, 9 Feb 2012 20:17:46 +0000
(21:17 +0100)
committer
Éric Araujo
<merwok@netwok.org>
Thu, 9 Feb 2012 20:17:46 +0000
(21:17 +0100)
Lib/packaging/util.py
patch
|
blob
|
history
diff --git
a/Lib/packaging/util.py
b/Lib/packaging/util.py
index 5b651b1eebc7ed514c08e68f38c4cedd69206242..fff919c95837a1bce89a685ab2b1fd52a9ed84b3 100644
(file)
--- a/
Lib/packaging/util.py
+++ b/
Lib/packaging/util.py
@@
-1049,7
+1049,6
@@
def cfg_to_args(path='setup.cfg'):
SETUP_TEMPLATE = """\
# This script was automatically generated by packaging
-import os
import codecs
from distutils.core import setup
try:
@@
-1057,6
+1056,7
@@
try:
except ImportError:
from configparser import RawConfigParser
+
%(split_multiline)s
%(cfg_to_args)s