From 91379d9c17d2ac432f64e1952e2b3d47c83eedcc Mon Sep 17 00:00:00 2001 From: "Stefan H. Holek" Date: Sat, 10 Nov 2012 18:45:20 +0100 Subject: Add comments. --HG-- branch : distribute extra : rebase_source : 2d4ac9964b247122715c8296158c97d1f11adf89 --- setuptools/command/egg_info.py | 1 + 1 file changed, 1 insertion(+) (limited to 'setuptools/command/egg_info.py') 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: -- cgit v1.2.3