Autotool - compile module for both Python 2 _and_ 3

Ervin Hegedüs airween at gmail.com
Tue May 17 07:14:32 EDT 2016


Hi Dirk,

On Tue, May 17, 2016 at 09:13:02AM +0200, Dirk Bächle wrote:
> 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.

many thanks - I'll check it out soon.


Thanks,


a.
 



More information about the Python-list mailing list