Autotool - compile module for both Python 2 _and_ 3
Dirk Bächle
tshortik at gmx.de
Tue May 17 03:13:02 EDT 2016
Hi Ervin,
On 16.05.2016 11:05, Ervin Hegedüs wrote:
> Hi All,
>
>
> there is a library, which written in C. I'ld like to use it from
> Python - from Python 2 _and_ 3.
>
> I can make the autotools* files for Python 2 and Python 3, but
> only exclusively. I can't make it for both in same time.
>
> [...]
>
> Is there any "best practice" to solve this problem?
>
> Practical advice or links are welcome!
>
here's my practical advice: have a look at SCons (http://www.scons.org). It handles variant builds (multiple packages/target) from
the same source very well, even in parallel.
Best regards,
Dirk
More information about the Python-list
mailing list