Holger Frey
7 years ago
2 changed files with 7 additions and 5 deletions
@ -1,12 +1,10 @@
@@ -1,12 +1,10 @@
|
||||
pyinstaller ^ |
||||
-y ^ |
||||
--noconfirm ^ |
||||
--additional-hooks-dir=. ^ |
||||
--hidden-import=packaging ^ |
||||
--hidden-import=packaging.version ^ |
||||
--hidden-import=packaging.specifiers ^ |
||||
--hidden-import=packaging.requirements ^ |
||||
-w ^ |
||||
--onefile ^ |
||||
--name MagneticTrap ^ |
||||
--icon Household-Mouse-Trap.ico ^ |
||||
run_magnetic_trap.py |
||||
|
@ -1,5 +1,9 @@
@@ -1,5 +1,9 @@
|
||||
from arduino_timetable import run_application |
||||
|
||||
if __name__ == '__main__': |
||||
if __name__=='__main__': |
||||
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