Blame pyhoca-gui-file.patch
|
Orion Poplawski |
13b91c8 |
diff -up pyhoca-gui-0.5.0.7/setup.py.file pyhoca-gui-0.5.0.7/setup.py
|
|
Orion Poplawski |
13b91c8 |
--- pyhoca-gui-0.5.0.7/setup.py.file 2017-09-24 03:02:41.000000000 -0600
|
|
Orion Poplawski |
13b91c8 |
+++ pyhoca-gui-0.5.0.7/setup.py 2018-04-14 10:51:22.120132138 -0600
|
|
Orion Poplawski |
13b91c8 |
@@ -33,7 +33,7 @@ PROGRAM_DESC_SHORT = '%s is a graphical
|
|
Orion Poplawski |
13b91c8 |
|
|
Orion Poplawski |
13b91c8 |
# silence pyflakes with assigning a dummy version here... the real __VERSION__ assignment happens below
|
|
Orion Poplawski |
13b91c8 |
__VERSION__ = '0.0.0.0'
|
|
Orion Poplawski |
13b91c8 |
-for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
|
|
Orion Poplawski |
13b91c8 |
+for line in open(os.path.join('pyhoca', 'wxgui', '__init__.py'),'r').readlines():
|
|
Orion Poplawski |
13b91c8 |
if (line.startswith('__VERSION__')):
|
|
Orion Poplawski |
13b91c8 |
exec(line.strip())
|
|
Orion Poplawski |
13b91c8 |
if platform.system() == 'Windows':
|