1. Erik van Zijst
  2. py2app

Commits

Erik van Zijst  committed 213bb9d

Added path normalization when copying the executable.

  • Participants
  • Parent commits 5bd8fa5
  • Branches default

Comments (0)

Files changed (1)

File py2app/build_app.py

View file
                     if os.path.exists(fn):
                         prefix = open(fn, 'rU').read().strip()
 
-                    rest_path = sys.executable[len(sys.prefix)+1:]
+                    rest_path = sys.executable[len(os.path.normpath(sys.prefix))+1:]
                     if rest_path.startswith('.'):
                         rest_path = rest_path[1:]