diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | requirements.txt | 1 | ||||
-rw-r--r-- | setup.py | 19 | ||||
-rw-r--r-- | vidslice.bat | 1 |
4 files changed, 22 insertions, 1 deletions
@@ -1,2 +1,4 @@ venv .idea +build +*.exe diff --git a/requirements.txt b/requirements.txt index cffc1a2..3e4d57b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ wxPython==4.0.4 +cx_Freeze diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..9aac94a --- /dev/null +++ b/setup.py @@ -0,0 +1,19 @@ +from cx_Freeze import setup, Executable + +# Dependencies are automatically detected, but it might need +# fine tuning. +buildOptions = dict(packages=[], excludes=[]) + +import sys + +base = 'Win32GUI' if sys.platform == 'win32' else None + +executables = [ + Executable('vidslice.py', base=base) +] + +setup(name='vidslice', + version='1.0', + description='', + options=dict(build_exe=buildOptions), + executables=executables) diff --git a/vidslice.bat b/vidslice.bat deleted file mode 100644 index 139fe3b..0000000 --- a/vidslice.bat +++ /dev/null @@ -1 +0,0 @@ -D:\Melody\Projects\vidslice\venv\Scripts\python.exe D:/Melody/Projects/vidslice/vidslice.py %1 |