Commits

Jason R. Coombs  committed 274cb3b

Corrected a TypeError when reading a local package index on Python 3. Fixes #116.

  • Participants
  • Parent commits 6f2b4d9
  • Tags 1.4.2

Comments (0)

Files changed (2)

 =======
 
 -----
+1.4.2
+-----
+
+* Issue #116: Correct TypeError when reading a local package index on Python
+  3.
+
+-----
 1.4.1
 -----
 

File setuptools/package_index.py

         files = []
         for f in os.listdir(filename):
             if f=='index.html':
-                fp = open(os.path.join(filename,f),'rb')
+                fp = open(os.path.join(filename,f),'r')
                 body = fp.read()
                 fp.close()
                 break