File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ eval "$(conda shell.bash hook)"
55conda activate jefapato
66rm -r build
77rm -r dist
8- pyinstaller --console --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend\assets\icons\icon.ico" main.py
8+ pyinstaller --console --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend\assets\icons\icon.ico" --collect-all=numba --collect-all=stumpy main.py
99mv dist/JeFaPaTo dist/JeFaPaTo_linux
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ arch -x86_64 python3 -m pip install --upgrade --force-reinstall .
5959
6060rm -rf build
6161
62- arch -x86_64 pyinstaller --windowed --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend/assets/icons/icon.icns" main.py
62+ arch -x86_64 pyinstaller --windowed --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend/assets/icons/icon.icns" --collect-all=numba --collect-all=stumpy main.py
6363
6464mkdir -p dist/intel
6565mv dist/JeFaPaTo.app dist/intel/JeFaPaTo.app
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ python3 -m pip install --upgrade --force-reinstall .
5959
6060rm -rf build
6161
62- pyinstaller --windowed --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend/assets/icons/icon.icns" main.py
62+ pyinstaller --windowed --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend/assets/icons/icon.icns" --collect-all=numba --collect-all=stumpy main.py
6363
6464# python3 setup.py py2app --arch=universal2
6565# # rename the created app
Original file line number Diff line number Diff line change 11call activate jefapato
22RMDIR /S /Q build
33RMDIR /S /Q dist
4- pyinstaller --console --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend\assets\icons\icon.ico" main.py
4+ pyinstaller --console --onefile --name JeFaPaTo --add-data src/jefapato:jefapato --add-data frontend:frontend --add-data examples:examples --icon " frontend\assets\icons\icon.ico" --collect-all=numba --collect-all=stumpy main.py
55CD dist
66RENAME JeFaPaTo.exe JeFaPaTo_windows.exe
Original file line number Diff line number Diff line change 11import argparse
22import sys
3+ import os
4+
5+ os .environ ["NUMBA_DISABLE_PERFORMANCE_WARNINGS" ] = "1"
6+ os .environ ["NUMBA_DISABLE_CUDA" ] = "1"
37
48import structlog
59from PyQt6 .QtWidgets import QApplication
812
913logger = structlog .get_logger ()
1014
15+
1116def main (argv ):
1217 parser = argparse .ArgumentParser ()
1318 parser .add_argument ("--start-tab" , type = int , default = 0 )
@@ -22,7 +27,7 @@ def main(argv):
2227
2328 ex .show ()
2429 splash .finish (ex )
25- sys .exit (app .exec_ ()) # type: ignore
30+ sys .exit (app .exec_ ()) # type: ignore
2631
2732
2833if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments