1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Modify add pip_zip to sys.path method

This commit is contained in:
Dongweiming 2014-01-28 08:27:24 -05:00
parent 2a757485af
commit 39039e0249
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ def main():
fp.write(base64.decodestring(ZIPFILE))
# Add the zipfile to sys.path so that we can import it
sys.path = [pip_zip] + sys.path
sys.path.insert(0, pip_zip)
# Run the bootstrap
bootstrap(tmpdir=tmpdir)

View file

@ -20347,7 +20347,7 @@ def main():
fp.write(base64.decodestring(ZIPFILE))
# Add the zipfile to sys.path so that we can import it
sys.path = [pip_zip] + sys.path
sys.path.insert(0, pip_zip)
# Run the bootstrap
bootstrap(tmpdir=tmpdir)