kopia lustrzana https://github.com/inkstitch/inkstitch
use python -m for pyinstaller
rodzic
8af7db5789
commit
8614760b74
|
@ -39,8 +39,8 @@ jobs:
|
|||
|
||||
uname -a
|
||||
python --version
|
||||
pip --version
|
||||
pip debug
|
||||
python -m pip --version
|
||||
python -m pip debug
|
||||
|
||||
# wxPython doen't publish linux wheels in pypi
|
||||
wget -q https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.6-cp27-cp27mu-linux_x86_64.whl
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue