summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:50:14 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:50:14 +0100
commita9c6604aa3100a37d938953b104bdef0ee42b21f (patch)
tree16c855c38bdb3e68fe3765139b417ec7d6b87ec9 /setuptools
parente1a9b4dcc7b67e61b28fdefd33495ecc0fd7313b (diff)
downloadpython-setuptools-bitbucket-a9c6604aa3100a37d938953b104bdef0ee42b21f.tar.gz
Post-merge fixes.
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/command/egg_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 6b0d2426..5a714156 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -283,7 +283,7 @@ class FileList(_FileList):
item = item[:-1]
path = convert_path(item)
- if PY3:
+ if sys.version_info >= (3,):
try:
if os.path.exists(path) or os.path.exists(path.encode('utf-8')):
self.files.append(path)
@@ -337,7 +337,7 @@ class manifest_maker(sdist):
named by 'self.manifest'.
"""
# The manifest must be UTF-8 encodable. See #303.
- if PY3:
+ if sys.version_info >= (3,):
files = []
for file in self.filelist.files:
try: