Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #108735

Re: Autotool - compile module for both Python 2 _and_ 3

From Ervin Hegedüs <airween@gmail.com>
Newsgroups comp.lang.python
Subject Re: Autotool - compile module for both Python 2 _and_ 3
Date 2016-05-17 13:14 +0200
Message-ID <mailman.54.1463483615.19823.python-list@python.org> (permalink)
References <20160516090539.GA8327@arxnet.hu> <573AC47E.8060006@gmx.de> <20160517111432.GA4523@arxnet.hu>

Show all headers | View raw


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.
 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Autotool - compile module for both Python 2 _and_ 3 Ervin Hegedüs <airween@gmail.com> - 2016-05-17 13:14 +0200

csiph-web