diff options
author | Melody Horn <melody@boringcactus.com> | 2019-02-22 04:25:28 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2019-02-22 04:25:28 -0700 |
commit | 64a371f232052e550d3c4832545fcfb6dab11d8e (patch) | |
tree | 7efa7f5790bbda0fc258c72357a4fff420cce4b2 | |
parent | d8a76e71de7dfa6692ffcb9d7a1a293d8f319157 (diff) | |
download | vidslice-64a371f232052e550d3c4832545fcfb6dab11d8e.tar.gz vidslice-64a371f232052e550d3c4832545fcfb6dab11d8e.zip |
deploy
-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 |