Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #108734
| From | Dirk Bächle <tshortik@gmx.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Autotool - compile module for both Python 2 _and_ 3 |
| Date | 2016-05-17 09:13 +0200 |
| Message-ID | <mailman.53.1463482308.19823.python-list@python.org> (permalink) |
| References | <20160516090539.GA8327@arxnet.hu> <573AC47E.8060006@gmx.de> |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Autotool - compile module for both Python 2 _and_ 3 Dirk Bächle <tshortik@gmx.de> - 2016-05-17 09:13 +0200
csiph-web