Commits

Ronald Oussoren committed 4f901da

Avoid crash by reading python version from right location. Fixes #12

  • Participants
  • Parent commits f6fb203

Comments (0)

Files changed (1)

File py2app/build_app.py

 
 
         if includedir is None:
-            includedir = 'python%s'%(info['version'])
+            includedir = 'python%d.%d'%(sys.version_info[:2])
         else:
             includedir = os.path.basename(includedir)