I did some research myself, and while there is not solution for all combinations of OS and python installs, it seems using python3 is the best option. It could be possible to make the build script's python executable configurable, it is not really possible for the shebangs because there is no install make target for them. So, I applied the patch, and if some thing still needs python2, they can patch it for their build. Thanks
On Wed, Sep 18, 2019 at 1:01 AM Patrick Matthäi <pmatth...@debian.org> wrote: > Am 02.09.2019 um 22:57 schrieb Dan Dennedy: > > AFAIK "python3" is not a standard name for the executable any may not be > available on a python 3 only system. The patch needs to be backwards > compatible and use python3 if available and just "python" otherwise. > > Hi, > > I have checked it on current Debian and Ubuntu 19.04 and if you only have > python3 there is no /usr/bin/python. All Python tools have the "3" in it. > > Python 2 will retire in january (https://pythonclock.org/) so I think it > would be a good start for mlt in december to kick out Python2 support? > > > > > On Mon, Sep 2, 2019 at 5:55 AM Janne Liljeblad <janne.liljeb...@gmail.com> > wrote: > >> I just got Flowblade launched with Python 3 bindings and the next >> release is coming with Flowblade running on Python 3, so I support >> making Python 3 the default for Python binding going forward. >> >> Regards, >> >> Janne >> >> On Mon, Sep 2, 2019 at 3:44 PM Patrick Matthäi <pmatth...@debian.org> >> wrote: >> > >> > Hi, >> > >> > I switched the Debian packaging from Python 2 to 3. Now there is the >> > problem, that the path is not /usr/bin/python (same for python-config), >> > but /u/b/python3{-config}. >> > >> > So I had to apply the attached diff to get it working with Python 3. I >> > would welcome it if.. >> > >> > 1) Python3 would become the default >> > >> > 2) Dynamic (or with configure switch) chose between python2 or 3 >> > >> > -- >> > /* >> > Mit freundlichem Gruß / With kind regards, >> > Patrick Matthäi >> > GNU/Linux Debian Developer >> > >> > Blog: http://www.linux-dev.org/ >> > E-Mail: pmatth...@debian.org >> > patr...@linux-dev.org >> > */ >> > >> > _______________________________________________ >> > Mlt-devel mailing list >> > Mlt-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/mlt-devel >> >> >> _______________________________________________ >> Mlt-devel mailing list >> Mlt-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mlt-devel >> > > > -- > +-DRD-+ > > -- > /* > Mit freundlichem Gruß / With kind regards, > Patrick Matthäi > GNU/Linux Debian Developer > > Blog: http://www.linux-dev.org/ > E-Mail: pmatth...@debian.org > patr...@linux-dev.org > */ > > -- +-DRD-+
_______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel