Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Pants pythonpath bugfix. #25

Merged
merged 1 commit into from

2 participants

@benjyw
Collaborator

No description provided.

@wickman wickman merged commit 96557b2 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 13, 2012
  1. Pythonpath bugfix in pants.

    Benjy authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/python/twitter/common/python/pex_builder.py
View
3  src/python/twitter/common/python/pex_builder.py
@@ -53,7 +53,8 @@
sys.stderr.write('Could not launch python executable!\\n')
sys.exit(2)
-sys.path.insert(0, os.path.join(__entry_point__, '.bootstrap'))
+sys.path[0] = os.path.abspath(sys.path[0])
+sys.path.insert(0, os.path.abspath(os.path.join(__entry_point__, '.bootstrap')))
from twitter.common.python.importer import monkeypatch
monkeypatch()
Something went wrong with that request. Please try again.