aboutsummaryrefslogtreecommitdiff
path: root/freeze.py
diff options
context:
space:
mode:
authortassaron2017-07-20 20:31:38 -0400
committertassaron2017-07-20 20:31:38 -0400
commitf454814867443ceeeca2a3a2c2a676947184503c (patch)
treebe0ed824fd6218038041d5af48d273498cab87e1 /freeze.py
parentb1713d38fa91e39f142b0c234b6405229aa149e1 (diff)
ffmpeg functions moved to toolkit, component format simplified
component methods are auto-decorated & settings are now class variables
Diffstat (limited to 'freeze.py')
-rw-r--r--freeze.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/freeze.py b/freeze.py
index c9b7918..3281cad 100644
--- a/freeze.py
+++ b/freeze.py
@@ -2,8 +2,8 @@ from cx_Freeze import setup, Executable
import sys
import os
-# Dependencies are automatically detected, but it might need
-# fine tuning.
+from setup import VERSION
+
deps = [os.path.join('src', p) for p in os.listdir('src') if p]
deps.append('ffmpeg.exe' if sys.platform == 'win32' else 'ffmpeg')
@@ -39,7 +39,6 @@ buildOptions = dict(
include_files=deps,
)
-
base = 'Win32GUI' if sys.platform == 'win32' else None
executables = [
@@ -53,7 +52,7 @@ executables = [
setup(
name='audio-visualizer-python',
- version='2.0',
+ version=VERSION,
description='GUI tool to render visualization videos of audio files',
options=dict(build_exe=buildOptions),
executables=executables