pyinstaller hidden-import=tkinter
This commit is contained in:
parent
d9c469140e
commit
b4deac28d3
@ -21,7 +21,7 @@ steps:
|
|||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
- pip3 config --user set global.progress_bar off
|
- pip3 config --user set global.progress_bar off
|
||||||
- pip3 install --prefer-binary -r requirements.txt
|
- pip3 install --prefer-binary -r requirements.txt
|
||||||
- pyinstaller --onefile --name matomo-csv-util --distpath /drone/src/out/ /drone/src/main.py
|
- pyinstaller --onefile --name matomo-csv-util.bin --hidden-import=tkinter -y --distpath /drone/src/out/ /drone/src/main.py
|
||||||
- deactivate
|
- deactivate
|
||||||
- cp -v out/matomo-csv-util dist/
|
- cp -v out/matomo-csv-util dist/
|
||||||
# clean up
|
# clean up
|
||||||
@ -31,7 +31,7 @@ steps:
|
|||||||
# windows build
|
# windows build
|
||||||
- wine c:/python/python.exe -m pip config --user set global.progress_bar off
|
- wine c:/python/python.exe -m pip config --user set global.progress_bar off
|
||||||
- wine c:/python/python.exe -m pip install --prefer-binary -r z:/drone/src/requirements.txt
|
- wine c:/python/python.exe -m pip install --prefer-binary -r z:/drone/src/requirements.txt
|
||||||
- wine c:/python/Scripts/pyinstaller.exe --onefile --name matomo-csv-util --distpath z:/drone/src/out z:/drone/src/main.py
|
- wine c:/python/Scripts/pyinstaller.exe --onefile --name matomo-csv-util --hidden-import=tkinter -y --distpath z:/drone/src/out z:/drone/src/main.py
|
||||||
- cp -v out/matomo-csv-util.exe dist/
|
- cp -v out/matomo-csv-util.exe dist/
|
||||||
|
|
||||||
- name: gitea_release
|
- name: gitea_release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user