summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/egg_info.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index c9d4d82e..ed8e458a 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -214,10 +214,6 @@ class FileList(_FileList):
if os.path.exists(path) or os.path.exists(path.encode('utf-8')):
self.files.append(path)
except UnicodeEncodeError:
- # Accept UTF-8 filenames even if LANG=C
- if os.path.exists(path.encode('utf-8')):
- self.files.append(path)
- else:
log.warn("'%s' not %s encodable -- skipping", path,
sys.getfilesystemencoding())
else: