diff options
| author | Brianna | 2017-06-23 07:12:40 -0400 |
|---|---|---|
| committer | GitHub | 2017-06-23 07:12:40 -0400 |
| commit | 7d4fb7843849f8a90de13c1a1cb93ca9428fd3b1 (patch) | |
| tree | d8294bae70979f1134410f7794ca74a395f125ab /setup.py | |
| parent | 3c903794e3588560f2b9d342214009d55a675d5a (diff) | |
| parent | 8c9914850e9987d4f05e8b88dedb058ffbb4f53f (diff) | |
Merge branch 'feature-newgui' into newgui-commandline
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 +) |
