summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setuptools.egg-info/requires.txt11
-rwxr-xr-xsetuptools/command/egg_info.py4
2 files changed, 6 insertions, 9 deletions
diff --git a/setuptools.egg-info/requires.txt b/setuptools.egg-info/requires.txt
index 77cddef2..c06a8a0b 100644
--- a/setuptools.egg-info/requires.txt
+++ b/setuptools.egg-info/requires.txt
@@ -1,16 +1,13 @@
-[ssl:sys_platform=='win32' and python_version=='2.4']
-ctypes==1.0.2
-
[ssl:sys_platform=='win32']
wincertstore==0.1
-[certs]
-certifi==0.0.8
+[ssl:sys_platform=='win32' and python_version=='2.4']
+ctypes==1.0.2
[ssl:python_version in '2.4, 2.5']
ssl==1.16
-[ssl:sys_platform=='win32' and python_version=='2.4']
-ctypes==1.0.2 \ No newline at end of file
+[certs]
+certifi==0.0.8 \ No newline at end of file
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: