File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed
Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,17 @@ A Python program to quickly create prototype algorithms to partially automate th
1111
1212## Build
1313
14- ### Windows (currently not working)
14+ ### Windows
1515
16- Use ` pyinstaller ` in anaconda environment:
16+ Use ` pyinstaller ` in anaconda environment with all required packages set up :
1717
1818```
1919pip install pyinstaller
20- pyinstaller --onefile main.py
20+ pyinstaller --hidden-import "pynput.keyboard._win32" --hidden-import "pynput.mouse._win32" main.py
2121```
2222
23+ NOTE: don't use ` --onefile ` , this is way to slow
24+
2325### Pip-Package (Recommend for Linux)
2426
2527Generate distribution package of this project. These are archives that can be uploaded to an local Package Index and can be installed by pip.
Original file line number Diff line number Diff line change 1+ @ echo off
2+ rmdir /Q /S " build" > /NUL
3+ rmdir /Q /S " dist/funscript-editor" > NUL
4+ del funscript-editor.spec > NUL
5+ pyinstaller --add-data=" funscript_editor/config/*;funscript_editor/config" --hidden-import " pynput.keyboard._win32" --hidden-import " pynput.mouse._win32" funscript-editor.py
6+ xcopy /s " assets" " dist/funscript-editor"
Original file line number Diff line number Diff line change 1+ #!/bin/env python3
2+
3+ from funscript_editor .__main__ import main
4+
5+ if __name__ == '__main__' :
6+ main ()
You can’t perform that action at this time.
0 commit comments