diff --git a/lifx_control_panel/_constants.py b/lifx_control_panel/_constants.py index 67d8e7a..ef9ca69 100644 --- a/lifx_control_panel/_constants.py +++ b/lifx_control_panel/_constants.py @@ -1,4 +1,4 @@ -VERSION = "1.7.4" -BUILD_DATE = "2019-08-28T13:33:45.600251" +VERSION = "1.7.5" +BUILD_DATE = "2019-08-29T02:18:14.762305" AUTHOR = "Sawyer McLane" -DEBUGGING = False +DEBUGGING = False \ No newline at end of file diff --git a/lifx_control_panel/build_all.spec b/lifx_control_panel/build_all.spec index 6bb60aa..090a894 100644 --- a/lifx_control_panel/build_all.spec +++ b/lifx_control_panel/build_all.spec @@ -3,7 +3,7 @@ import datetime bd = datetime.datetime.now().isoformat() auth = "Sawyer McLane" -vers = "1.7.4" +vers = "1.7.5" is_debug = False # Write version info into _constants.py resource file @@ -130,3 +130,10 @@ exe = EXE(pyz, runtime_tmpdir=None, console=is_debug, icon='icons//icon_vector.ico') + +# Set debugging back to false +with open('_constants.py', 'w') as f: + f.write("VERSION = \"{}\"\n".format(vers)) + f.write("BUILD_DATE = \"{}\"\n".format(bd)) + f.write("AUTHOR = \"{}\"\n".format(auth)) + f.write("DEBUGGING = {}".format(str(False))) diff --git a/setup.py b/setup.py index 6d9b574..9ddbd21 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,12 @@ from setuptools import setup, find_packages +from lifx_control_panel._constants import VERSION with open('README.md') as f: - long_description = f + long_description = str(f) + setup(name='lifx_control_panel', - version='1.7.4', + version=VERSION, description='An open source application for controlling your LIFX brand lights', url='http://github.com/samclane/LIFX-Control-Panel', author='Sawyer McLane', @@ -26,7 +28,7 @@ 'numexpr', 'numpy' ], - download_url="https://github.com/samclane/LIFX-Control-Panel/archive/1.7.4.tar.gz", + download_url=f"https://github.com/samclane/LIFX-Control-Panel/archive/{VERSION}.tar.gz", long_description_content_type="text/markdown", long_description=long_description, )