setup.py 712 B

123456789101112131415161718192021222324252627282930
  1. from cx_Freeze import setup, Executable
  2. # Dependencies are automatically detected, but it might need
  3. # fine tuning.
  4. buildOptions = dict(packages = [], excludes = [
  5. "apport",
  6. "apt",
  7. "ctypes",
  8. "curses",
  9. "distutils",
  10. "email",
  11. "html",
  12. "http",
  13. "json",
  14. "xmlrpc",
  15. "nose"
  16. ], include_files = ["main.ui"])
  17. import sys
  18. base = 'Win32GUI' if sys.platform=='win32' else None
  19. executables = [
  20. Executable('main.py', base=base, targetName = 'audio-visualizer-python')
  21. ]
  22. setup(name='audio-visualizer-python',
  23. version = '1.0',
  24. description = 'a little GUI tool to render visualization videos of audio files',
  25. options = dict(build_exe = buildOptions),
  26. executables = executables)