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:
parent
2a757485af
commit
39039e0249
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue