diff options
Diffstat (limited to 'setuptools')
-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') |