From 38cfae0b4e30fdc19612f5873aec09ea69e74486 Mon Sep 17 00:00:00 2001 From: Martin Kaistra Date: Thu, 5 Mar 2015 15:58:45 +0100 Subject: add setup.py, automatic discovery for avconv/ffmpeg, add installation help to readme --- setup.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 setup.py (limited to 'setup.py') 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) -- cgit v1.2.3