Commits

Stefan H. Holek committed e49245e

Add comments.

  • Participants
  • Parent commits 0e05cec

Comments (0)

Files changed (2)

File setuptools/command/egg_info.py

                 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:

File setuptools/command/sdist.py

         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')