[SyncEvolution] Detect python binary name in build time
Patrick Ohly
patrick.ohly at intel.com
Tue Jul 24 15:38:50 UTC 2018
Milan Crha <mcrha at redhat.com> writes:
> Hello,
> there is some effort to rename 'python' to 'python2' in the
> distributions, but SyncEvolution still uses 'python' (without the
> version number) in its scripts. I made a change for Fedora to detect
> the installed python 2 binary name and use it in the scripts.
>
> I know, an ideal solution would be to port to python3 at the same time,
> but it's out of my knowledge, I do not speak pythonish and simple
> change to /usr/bin/python3 makes the provided scripts not to run with a
> runtime error about syntax and such, thus I decided to offer at least
> this change to you. Maybe I'll convince someone with python knowledge
> to port the scripts to python3, in which case I'd return back to you
> with a follow up change, if you are interested.
I'm definitely interested. The Arch maintainer filed an issue for the
same problem and attached his own patch here:
https://bugs.freedesktop.org/show_bug.cgi?id=107014
But as you said, the real solution has to be a port to Python3. Would it
be okay to drop Python2 support entirely? Doing so in a 1.5.x
maintenance release sounds too intrusive.
Should I target a 1.6.0 release with Python3 as dependency and also
include my "cxx-future" branch, where I require C++11?
--
Best Regards
Patrick Ohly
More information about the SyncEvolution
mailing list