summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorStefan H. Holek <stefan@epy.co.at>2012-10-15 14:48:49 +0200
committerStefan H. Holek <stefan@epy.co.at>2012-10-15 14:48:49 +0200
commit2566d19e9991b9da26740253ada3cc796e9c0f2e (patch)
tree5263e4ba0701f5700504cad117a2b2b96606d05a /setuptools/command/egg_info.py
parentb903991d8aab0f07bc64189c66ad7aa936df18a1 (diff)
downloadpython-setuptools-bitbucket-2566d19e9991b9da26740253ada3cc796e9c0f2e.tar.gz
Revert 86d7748 drive-by commit because of unclear BBB consequences.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 2dc59187..e1a8c9ad 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -292,19 +292,6 @@ class FileList(FileList):
-def compose(path):
- # Apple's HFS Plus returns decomposed UTF-8. Since just about
- # everyone else chokes on it, we must make sure to return fully
- # composed UTF-8 only.
- if sys.getfilesystemencoding().lower() == 'utf-8':
- from unicodedata import normalize
- if sys.version_info >= (3,):
- path = normalize('NFC', path)
- else:
- path = normalize('NFC', path.decode('utf-8')).encode('utf-8')
- return path
-
-
class manifest_maker(sdist):
template = "MANIFEST.in"
@@ -329,7 +316,6 @@ class manifest_maker(sdist):
self.prune_file_list()
self.filelist.sort()
self.filelist.remove_duplicates()
- self.filelist.files = [compose(path) for path in self.filelist.files]
self.write_manifest()
def write_manifest (self):