summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-05-16 00:14:24 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-05-16 00:14:24 -0400
commit4ba4909fe29c82db4a5db4bab2c0de2e6e0b1d10 (patch)
treefe1eaef8d9d25e4e9a9126cd81b78313dc486229
parentc8c9b75cbb82654b463d3175430900f58ba951ca (diff)
downloadpython-setuptools-git-4ba4909fe29c82db4a5db4bab2c0de2e6e0b1d10.tar.gz
Fix failure on non-Windows systems
-rwxr-xr-xsetuptools/command/egg_info.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 0175bbaa..ad3f4c17 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -252,8 +252,7 @@ class manifest_maker(sdist):
Write the file list in 'self.filelist' to the manifest file
named by 'self.manifest'.
"""
- if os.sep!='/':
- files = [f.replace(os.sep,'/') for f in self.filelist.files]
+ files = [f.replace(os.sep, '/') for f in self.filelist.files]
self.execute(write_file, (self.manifest, files),
"writing manifest file '%s'" % self.manifest)