aboutsummaryrefslogtreecommitdiffstats
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
commit21ead63de1689b99007d0ab9b41a19b09543e7b3 (patch)
treead74c0c4bb7af8a8a78af9eb7e25d13b758c96de /setuptools/command/egg_info.py
parentdb678072da41b75408680dab3e23c1b76573bf1d (diff)
downloadexternal_python_setuptools-21ead63de1689b99007d0ab9b41a19b09543e7b3.tar.gz
external_python_setuptools-21ead63de1689b99007d0ab9b41a19b09543e7b3.tar.bz2
external_python_setuptools-21ead63de1689b99007d0ab9b41a19b09543e7b3.zip
Revert 86d7748 drive-by commit because of unclear BBB consequences.
--HG-- branch : distribute extra : rebase_source : 2fb9a6ec09184e238551be4d0ea908e719badd27
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):