Skip to content

Commit

Permalink
Fix installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
wickman committed Apr 24, 2015
1 parent 3b55df7 commit 9bb09bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pex/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class InstallerBase(object):
SETUP_BOOTSTRAP_MODULE = "sys.path.insert(0, %(path)r); import %(module)s"
SETUP_BOOTSTRAP_FOOTER = """
__file__ = 'setup.py'
sys.argv[0] = 'setup.py'
exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
"""

Expand Down

0 comments on commit 9bb09bf

Please sign in to comment.