Commits

Stefan H. Holek committed e49245e

Add comments.

Comments (0)

Files changed (2)

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:

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')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.