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

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Ervin Hegedüs <airween@gmail.com>
Newsgroups comp.lang.python
Subject Re: Autotool - compile module for both Python 2 _and_ 3
Date Tue, 17 May 2016 13:14:32 +0200
Lines 34
Message-ID <mailman.54.1463483615.19823.python-list@python.org> (permalink)
References <20160516090539.GA8327@arxnet.hu> <573AC47E.8060006@gmx.de> <20160517111432.GA4523@arxnet.hu>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de 7iYB+nrDZ4/70H8QKNxozQCptI9brHgKG4+ZqCONuw/w==
Return-Path <airween@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'problem?': 0.07; 'variant': 0.07; 'cc:addr:python-list': 0.09; 'subject:both': 0.09; 'subject:module': 0.09; 'python': 0.10; 'url:org)': 0.13; '2016': 0.16; 'advice:': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'library,': 0.18; 'all,': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'handles': 0.20; 'cc:no real name:2**0': 0.22; 'thanks,': 0.24; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; '+0200,': 0.27; "can't": 0.32; 'source': 0.33; 'builds': 0.33; "i'll": 0.33; 'tue,': 0.34; 'advice': 0.35; 'received:google.com': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'files': 0.38; 'soon.': 0.73; '"best': 0.84; 'welcome!': 0.84; 'received:86': 0.93; 'received:hu': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=oW/lqCh7qvFf111Tik5Jx96dqA6zivB9ffcTMN6CvUM=; b=N1NVoGEGFjVK9OSD+MXYfYfdxqiMRaoh6WutvBX4OalLkTdLOhooqTKRBYeBZrV3gn mY5bFiu5ycnlDAuWU7eEHDtviPJIw/MeCiHsvA4Nd849ZTea74PJpvJIaWMxB+UHX9xQ TX44c94dHJ1xmbXxreJMROzVzCMI4jt7ND03RgIkzNzDb2V5V9wb6AMAattjKpbnEOzi wscwUtH1yciEf2wrTxIBJ7qz6VYHZ1IJwWxINdVeZ6S2DxlNF8CxSEXZ0z3qboA1Cu0a ne6UvtfPo5X7iFT3TC5sAEJEdiD6OSHVNE6HBBcMo0ksSuBcj+AsOimM/iIup3mfcfPh FQsw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=oW/lqCh7qvFf111Tik5Jx96dqA6zivB9ffcTMN6CvUM=; b=Xp5LdawXmnlc0I9PQ6Z7oAI9/liMNPWMjPIdzvOiQ95inKW+9CdJXXXmHZF7wIqTwb N5E1Z3BvMMTDAGJmTXhhQyiDVjBzgBVesrfozXtsdWvRtHLJSBdhPKIcgtR1SBLuUUoD gWlAfTZ8uqT2e0PNw7Sy8gHOcqyifVIb553+WNupM89oqqf8oYkdDps6cVAb/6mPm/wr qxz50ygW61gvADDIa5QRWL1ptY/ltGqNbHfGGUhpl0xVmjWlENiYWtov6xraABuxeZaV JoDMA5iR+IKVISxG8QQYMRYpZjnyQom3gQBb496S03n/eo5FoQRM8kV3/wNP8VzCBgIz ae9Q==
X-Gm-Message-State AOPr4FVMu1iLrVmYt88GmVBz1V6DlfePrsNcmKkZHoUGAvV4fqn01ioMPTHu0bAjaCHEVw==
X-Received by 10.28.86.10 with SMTP id k10mr838861wmb.96.1463483608418; Tue, 17 May 2016 04:13:28 -0700 (PDT)
Content-Disposition inline
In-Reply-To <573AC47E.8060006@gmx.de>
User-Agent Mutt/1.5.21 (2010-09-15)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20160517111432.GA4523@arxnet.hu>
X-Mailman-Original-References <20160516090539.GA8327@arxnet.hu> <573AC47E.8060006@gmx.de>
Xref csiph.com comp.lang.python:108735

Show key headers only | 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