diff options
| author | Martin Kaistra | 2015-03-05 15:58:45 +0100 |
|---|---|---|
| committer | Martin Kaistra | 2015-03-05 15:58:45 +0100 |
| commit | 38cfae0b4e30fdc19612f5873aec09ea69e74486 (patch) | |
| tree | a2e88d52a8e68d012183cd8028a8b314fbe53f54 /setup.py | |
| parent | 88105403e9d0b1afc9992c6a871ac7c0fed0cdaa (diff) | |
add setup.py, automatic discovery for avconv/ffmpeg, add installation help to readme
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..0d9cbc4 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +from cx_Freeze import setup, Executable + +# 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 + +executables = [ + 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) |
