Skip to content

Commit 2e40a40

Browse files
committed
add version file and bump to 2.0.5
1 parent b267494 commit 2e40a40

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

source/mpowertcx.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
from PySide.QtGui import *
3636
from PySide.QtCore import *
37+
import version
3738

3839
if platform.system() == 'Darwin':
3940
# The UIC generates things differently for the OS X context menu
@@ -68,7 +69,7 @@ def __init__(self):
6869
super(MainWindow, self).__init__()
6970
self.settings = QSettings("j33433", "MPowerTCX")
7071
WidgetSettings.__init__(self, self, 'settings.json', self.settings)
71-
self.version = "v2.0.4"
72+
self.version = version.version
7273
self.trues = [True, 'True', 'true'] # workaround for pyside
7374
self.setupUi(self)
7475
# self.menuHelp.menuAction().setMenuRole(QAction.AboutRole)

source/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import os
77
from cx_Freeze import setup, Executable
8+
import version
89

910
import scipy
1011
scipy_path = os.path.dirname(scipy.__file__)
@@ -25,7 +26,7 @@
2526
]
2627

2728
setup(name='MPowerTCX',
28-
version = '2.0.4',
29+
version = version.version,
2930
description = '',
3031
options = options,
3132
executables = executables)

source/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = '2.0.5'

0 commit comments

Comments
 (0)