Holger Frey
7 years ago
2 changed files with 7 additions and 5 deletions
@ -1,12 +1,10 @@ |
|||||||
pyinstaller ^ |
pyinstaller ^ |
||||||
-y ^ |
--noconfirm ^ |
||||||
--additional-hooks-dir=. ^ |
--additional-hooks-dir=. ^ |
||||||
--hidden-import=packaging ^ |
--hidden-import=packaging ^ |
||||||
--hidden-import=packaging.version ^ |
--hidden-import=packaging.version ^ |
||||||
--hidden-import=packaging.specifiers ^ |
--hidden-import=packaging.specifiers ^ |
||||||
--hidden-import=packaging.requirements ^ |
--hidden-import=packaging.requirements ^ |
||||||
-w ^ |
|
||||||
--onefile ^ |
|
||||||
--name MagneticTrap ^ |
--name MagneticTrap ^ |
||||||
--icon Household-Mouse-Trap.ico ^ |
--icon Household-Mouse-Trap.ico ^ |
||||||
run_magnetic_trap.py |
run_magnetic_trap.py |
||||||
|
@ -1,5 +1,9 @@ |
|||||||
from arduino_timetable import run_application |
from arduino_timetable import run_application |
||||||
|
|
||||||
if __name__ == '__main__': |
if __name__=='__main__': |
||||||
arduino_commands = {'open': 'o', 'close': 'c'} |
arduino_commands = {'open': 'o', 'close': 'c'} |
||||||
run_application(arduino_commands, "It's a trap!") |
run_application( |
||||||
|
arduino_commands, |
||||||
|
"It's a trap!", |
||||||
|
icon='Household-Mouse-Trap.ico' |
||||||
|
) |
||||||
|
Loading…
Reference in new issue