Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

Commit

Permalink
target should not be needed here
Browse files Browse the repository at this point in the history
  • Loading branch information
pathmann committed Sep 11, 2017
1 parent ba93ee4 commit cb548e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ def main(root, pythondir, outdir, arches, buildbase, update):
sys.exit(1)

# update pip: python -m pip install --update --target sitedir pip
p = subprocess.Popen([intpath, "-m", "pip", "install", "--target",
sitedir, "--upgrade", "pip"],
p = subprocess.Popen([intpath, "-m", "pip", "install", "--upgrade",
"pip"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = p.communicate()
Expand All @@ -255,7 +255,7 @@ def main(root, pythondir, outdir, arches, buildbase, update):
reqfile = os.path.join(root, "requirements.txt")
if os.path.isfile(reqfile):
p = subprocess.Popen([intpath, "-m", "pip", "install",
"--target", sitedir, "-r", reqfile],
"-r", reqfile],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = p.communicate()
Expand Down

0 comments on commit cb548e6

Please sign in to comment.