Am 08.02.2017 um 16:53 schrieb Sebastian Kuzminsky: > On 02/08/2017 05:36 AM, John Thornton wrote: >> When I build my branch it builds without any errors. The lhgui.py file >> gets the first line changed from: >> #! /usr/bin/env python3 >> to >> #!/usr/bin/python >> when it is copied to /bin. Which makes the program not work. I'm >> wondering if there is something in my Submakefile that is doing that? > All our existing python programs and libraries are for python2, and our > build system doesn't expect to have a different python interpreter involved. > > Our configure system (src/configure.in) currently requires that > /usr/bin/python (or whatever you specify with --with-python=) is at > least 2.7 (explicitly checked), and less than 3 (implicitly checked by > using python2 syntax in our checks). > > So i think your options are to either rewrite your gui for python2, or > rewrite our configure/build/package system to handle mixed > python2/python3 code. > > IMHO it would be a good preparation to chnage the configure stuff to support both python 2 and 3, as we will be forced to change to python 3 sooner or later. And py3 has some advantages against py2.
Norbert ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers