summaryrefslogtreecommitdiff
path: root/bin/build-python
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2020-01-27 15:39:45 -0500
committerLex Neva <github.com@lexneva.name>2020-01-29 01:29:49 -0500
commit8614760b743b4bde1e2e148c66c424214c5d1809 (patch)
tree2a2e8e9bc716af052ccb259fa254279fc43677b3 /bin/build-python
parent8af7db5789734f2251653eea2249acdbd8913a15 (diff)
use python -m for pyinstaller
Diffstat (limited to 'bin/build-python')
-rwxr-xr-xbin/build-python4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-python b/bin/build-python
index 7326e371..bbd2af87 100755
--- a/bin/build-python
+++ b/bin/build-python
@@ -35,11 +35,11 @@ pyinstaller_args+="-p inkscape/share/extensions "
pyinstaller_args+="--log-level DEBUG "
if [ "$BUILD" = "windows" ]; then
- pyinstaller $pyinstaller_args inkstitch.py
+ python -m PyInstaller $pyinstaller_args inkstitch.py
else
# without the LD_LIBRARY_PATH, it seems that pyinstaller can't find all of
# wxpython's shared libraries
- LD_LIBRARY_PATH="${site_packages}/wx" pyinstaller $pyinstaller_args --strip inkstitch.py;
+ LD_LIBRARY_PATH="${site_packages}/wx" python -m PyInstaller $pyinstaller_args --strip inkstitch.py;
fi
# pyinstaller put a whole mess of libraries under dist/inkstitch. We'd like