Package: pyhoca-gui
Version: 0.5.0.7
2to3 is not sufficient to add python3 support of pyhoca-gui. The
attached patches are needed as well.
file() is no longer present in python3. The mro patch fixes:
/usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s'
Traceback (most recent call last):
File "setup.py", line 212, in <module>
class build_installer_bbfreeze(build_installer, Freezer, Command):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases object, Command
--
Orion Poplawski
Manager of NWRA Technical Systems 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane or...@nwra.com
Boulder, CO 80301 https://www.nwra.com/
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':
diff -up pyhoca-gui-0.5.0.7/setup.py.mro pyhoca-gui-0.5.0.7/setup.py
--- pyhoca-gui-0.5.0.7/setup.py.mro 2018-04-14 10:52:19.582773079 -0600
+++ pyhoca-gui-0.5.0.7/setup.py 2018-04-14 11:05:40.829314467 -0600
@@ -209,7 +209,7 @@ class build_installer_py2exe(build_insta
# First, let py2exe do it's work.
py2exe.run(self)
-class build_installer_bbfreeze(build_installer, Freezer, Command):
+class build_installer_bbfreeze(build_installer, Command, Freezer):
user_options = [
('dist-dir=', 'd',
_______________________________________________
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev