Skip to content

Commit

Permalink
add version file and bump to 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
j33433 committed Jun 20, 2018
1 parent b267494 commit 2e40a40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/mpowertcx.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

from PySide.QtGui import *
from PySide.QtCore import *
import version

if platform.system() == 'Darwin':
# The UIC generates things differently for the OS X context menu
Expand Down Expand Up @@ -68,7 +69,7 @@ def __init__(self):
super(MainWindow, self).__init__()
self.settings = QSettings("j33433", "MPowerTCX")
WidgetSettings.__init__(self, self, 'settings.json', self.settings)
self.version = "v2.0.4"
self.version = version.version
self.trues = [True, 'True', 'true'] # workaround for pyside
self.setupUi(self)
# self.menuHelp.menuAction().setMenuRole(QAction.AboutRole)
Expand Down
3 changes: 2 additions & 1 deletion source/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import os
from cx_Freeze import setup, Executable
import version

import scipy
scipy_path = os.path.dirname(scipy.__file__)
Expand All @@ -25,7 +26,7 @@
]

setup(name='MPowerTCX',
version = '2.0.4',
version = version.version,
description = '',
options = options,
executables = executables)
1 change: 1 addition & 0 deletions source/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version = '2.0.5'

0 comments on commit 2e40a40

Please sign in to comment.