Has Ubuntu switched to Python 3 yet? if so, how did the distro do the migration?
I am curious, because it would be nice if the build-system could check to see if /usr/bin/python2 exists, in which case instead of executing COMMAND python ... it could substitute in COMMAND python2 where it is needed so that compiz builds on distros that are using /usr/bin/python as python3 not python2... anyway, i mention this because recently another file in the sources need to be modified in order to succesfully install.
so we are at a total of 3 files in the sources that need to be modified;
I thought when Ubuntu migrated to python3, they would have done like most of the distros that first adopted python3 - which is to make /usr/bin/python (python3), while for python2 their using /usr/bin/python2..
anyway, some sort of detection of /usr/bin/python2 would be a good thing.
@Daniel/Sam
Has Ubuntu switched to Python 3 yet? if so, how did the distro do the migration?
I am curious, because it would be nice if the build-system could check to see if /usr/bin/python2 exists, in which case instead of executing COMMAND python ... it could substitute in COMMAND python2 where it is needed so that compiz builds on distros that are using /usr/bin/python as python3 not python2... anyway, i mention this because recently another file in the sources need to be modified in order to succesfully install.
so we are at a total of 3 files in the sources that need to be modified;
/compiz/ compizconfig/ ccsm/CMakeLists .txt compizconfig/ compizconfig- python/ CMakeLists. txt compizconfig/ cmake/exec_ setup_py_ with_destdir. cmake
/compiz/
/compiz/
I thought when Ubuntu migrated to python3, they would have done like most of the distros that first adopted python3 - which is to make /usr/bin/python (python3), while for python2 their using /usr/bin/python2..
anyway, some sort of detection of /usr/bin/python2 would be a good thing.
cheerz