diff options
| author | DH4 | 2017-06-23 02:39:56 -0500 |
|---|---|---|
| committer | DH4 | 2017-06-23 02:39:56 -0500 |
| commit | 8c9914850e9987d4f05e8b88dedb058ffbb4f53f (patch) | |
| tree | 4a188c0104bc270d033656e6af796686cc727d03 /setup.py | |
| parent | 60d62599f785167f4c976a92fd8f19fbee4a363d (diff) | |
cx_freeze Path Updates
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 63 |
1 files changed, 42 insertions, 21 deletions
@@ -1,30 +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", - "ctypes", - "curses", - "distutils", - "email", - "html", - "http", - "json", - "xmlrpc", - "nose" - ], include_files = ["main.ui"]) -import sys -base = 'Win32GUI' if sys.platform=='win32' else None +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') + Executable( + 'main.py', + base=base, + targetName='audio-visualizer-python' + ) ] -setup(name='audio-visualizer-python', - version = '1.0', - description = 'a little GUI tool to render visualization videos of audio files', - options = dict(build_exe = buildOptions), - executables = executables) + +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 +) |
