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