Browse Source

removed Pyinstaller code

As of September 2017 the Pyinstaller version on PyPi is not ready for
Python 3.6 and / or multiprocessing. I stopped trying to use Pyinstaller
for distribution.

The experiment is still available in the `pyinstaller`
branch.
master
Holger Frey 7 years ago
parent
commit
67deec5243
  1. 8
      README.md
  2. 10
      pyinstaller_make.bat
  3. 9
      run_magnetic_trap.py

8
README.md

@ -6,8 +6,6 @@ Module to send commands to an Arduino based on a time table.
### Regarding Pyinstaller ### Regarding Pyinstaller
As of September 2017 the Pyinstaller version on PyPi is not ready for As of September 2017 the Pyinstaller version on PyPi is not ready for
Python 3.6, the developementversion is needed: Python 3.6 and / or multiprocessing. I stopped trying to use Pyinstaller
for distribution. The experiment is still available in the `pyinstaller`
~~~ branch.
pip install https://github.com/pyinstaller/pyinstaller/tarball/develop
~~~

10
pyinstaller_make.bat

@ -1,10 +0,0 @@
pyinstaller ^
--noconfirm ^
--additional-hooks-dir=. ^
--hidden-import=packaging ^
--hidden-import=packaging.version ^
--hidden-import=packaging.specifiers ^
--hidden-import=packaging.requirements ^
--name MagneticTrap ^
--icon Household-Mouse-Trap.ico ^
run_magnetic_trap.py

9
run_magnetic_trap.py

@ -1,9 +0,0 @@
from arduino_timetable import run_application
if __name__=='__main__':
arduino_commands = {'open': 'o', 'close': 'c'}
run_application(
arduino_commands,
"It's a trap!",
icon='Household-Mouse-Trap.ico'
)
Loading…
Cancel
Save