summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaixintao <laixintaoo@gmail.com>2023-12-26 14:05:35 +0800
committerlaixintao <laixintaoo@gmail.com>2023-12-26 14:05:35 +0800
commit35497d0405a35d2c3ba4562add699b6264f09403 (patch)
tree3403110d93715756a7cd66fb8cf09277ebfdee47
parente570c5ecadc069de5212fca58782cca3512a5f46 (diff)
change to install
-rw-r--r--pyoxidizer.template.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyoxidizer.template.bzl b/pyoxidizer.template.bzl
index 7079001..3298eb9 100644
--- a/pyoxidizer.template.bzl
+++ b/pyoxidizer.template.bzl
@@ -225,7 +225,7 @@ def make_exe(dist):
# collected files inside Python wheels. `add_python_resources()` adds these
# objects to the binary, with a load location as defined by the packaging
# policy's resource location attributes.
- exe.add_python_resources(exe.pip_download(["--no-binary", ":all:", "pendulum"]))
+ exe.add_python_resources(exe.pip_install(["--no-binary", ":all:", "pendulum"]))
# Invoke `pip install` with our Python distribution to install a single package.
# `pip_install()` returns objects representing installed files.