On Thu, 2017-01-26 at 09:10 +1000, Peter Hutterer wrote: > Before I start hacking up something nasty I figured it's better to > ask: how > do I build both py2 and py3 bindings from a package using autotools > (i.e. > AM_PATH_PYTHON)? I think it's better to not use automake's stuff for this and use distutils/setuptools (this is btw, how gpgme and rpm does). gpgme also integrates it into makefiles, but that's something what I would like to not deal with... in RPM we just run pythonX setup.py build/install during build/install process. > > So far my idea revolves around installing both python-devel packages > and > overriding PYTHON in each %build <packagename>, etc. But maybe > there's a > simpler solution? > > Package in question is evemu and yes, we are also the upstream > maintainers > so if there's a more sensible solution we can move that into > upstream. > > Thanks > > Cheers, > Peter > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx