diff options
| author | DH4 | 2017-06-23 17:38:05 -0500 |
|---|---|---|
| committer | DH4 | 2017-06-23 17:38:05 -0500 |
| commit | e92e9d79f95ad67e83074ef318278c3486601eac (patch) | |
| tree | ea6f8d9e8f0e9c7acbc807a2ec74a397ce34a9ed /freeze.py | |
| parent | f3da72ea5402d5cd1f865b56c0a9aa3b9f3957f4 (diff) | |
QT5 Conversion + Directory Structure
Diffstat (limited to 'freeze.py')
| -rw-r--r-- | freeze.py | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/freeze.py b/freeze.py new file mode 100644 index 0000000..48034dc --- /dev/null +++ b/freeze.py @@ -0,0 +1,51 @@ +from cx_Freeze import setup, Executable +import sys + +# Dependencies are automatically detected, but it might need +# fine tuning. + +buildOptions = dict( + packages=[], + excludes=[ + "apport", + "apt", + "curses", + "distutils", + "email", + "html", + "http", + "xmlrpc", + "nose" + ], + include_files=[ + "mainwindow.ui", + "presetmanager.ui", + "background.png", + "encoder-options.json", + "components/" + ], + includes=[ + 'numpy.core._methods', + 'numpy.lib.format' + ] +) + + +base = 'Win32GUI' if sys.platform == 'win32' else None + +executables = [ + Executable( + 'main.py', + base=base, + targetName='audio-visualizer-python' + ) +] + + +setup( + name='audio-visualizer-python', + version='1.0', + description='GUI tool to render visualization videos of audio files', + options=dict(build_exe=buildOptions), + executables=executables +) |
