From cb548e60c7fd919149aef59c6aec55ec011a353f Mon Sep 17 00:00:00 2001 From: pathmann Date: Mon, 11 Sep 2017 21:23:23 +0200 Subject: [PATCH] target should not be needed here --- tools/bundle.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bundle.py b/tools/bundle.py index 3de9c09..90c504b 100755 --- a/tools/bundle.py +++ b/tools/bundle.py @@ -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() @@ -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()