diff options
author | Stefan H. Holek <stefan@epy.co.at> | 2012-11-10 18:45:20 +0100 |
---|---|---|
committer | Stefan H. Holek <stefan@epy.co.at> | 2012-11-10 18:45:20 +0100 |
commit | 91379d9c17d2ac432f64e1952e2b3d47c83eedcc (patch) | |
tree | c886f379940f3af023036534f46ff76c7d80f96d | |
parent | b7c5bd34a32f20e54100fd88ede20c136571b1cf (diff) | |
download | external_python_setuptools-91379d9c17d2ac432f64e1952e2b3d47c83eedcc.tar.gz external_python_setuptools-91379d9c17d2ac432f64e1952e2b3d47c83eedcc.tar.bz2 external_python_setuptools-91379d9c17d2ac432f64e1952e2b3d47c83eedcc.zip |
Add comments.
--HG--
branch : distribute
extra : rebase_source : 2d4ac9964b247122715c8296158c97d1f11adf89
-rwxr-xr-x | setuptools/command/egg_info.py | 1 | ||||
-rwxr-xr-x | setuptools/command/sdist.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 9695627b..d37ba900 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -286,6 +286,7 @@ class FileList(_FileList): if os.path.exists(path): self.files.append(path) elif sys.platform == 'win32': + # NTFS can store UTF-8 filenames as is if os.path.exists(path.encode('utf-8')): self.files.append(path) except UnicodeEncodeError: diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index 7a6d2b7d..2fa3771a 100755 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -282,6 +282,7 @@ class sdist(_sdist): log.info("reading manifest file '%s'", self.manifest) manifest = open(self.manifest, 'rbU') for line in manifest: + # The manifest must contain UTF-8. See #303. if sys.version_info >= (3,): try: line = line.decode('UTF-8') |