Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: wrappers for C/C++ Date: Sat, 12 Dec 2015 05:53:20 +1100 Lines: 17 Message-ID: References: <6C6EE445A6F6CE4E8A0FFB51B071A4E2D869B96D@AMERMBX02.PERKINELMER.NET> <6C6EE445A6F6CE4E8A0FFB51B071A4E2D869BA61@AMERMBX02.PERKINELMER.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de BD8GagN4lCLyEDarC5ATTw3pus2BWBuctbkhAOQ1kUaA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; 'python': 0.10; "(i'm": 0.16; 'binaries': 0.16; 'compilers': 0.16; 'creates.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrappers': 0.16; 'wrote:': 0.16; 'basically': 0.18; 'version.': 0.18; 'versions': 0.20; 'changes': 0.20; 'windows': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'saying': 0.22; '64-bit': 0.22; 'am,': 0.23; 'code.': 0.23; 'dec': 0.23; 'sat,': 0.23; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; 'chris': 0.26; 'distribute': 0.27; 'message-id:@mail.gmail.com': 0.27; '32-bit': 0.29; "people's": 0.29; 'subject:/': 0.30; 'generally': 0.32; 'possibly': 0.32; 'run': 0.33; 'source': 0.33; 'usually': 0.33; 'builds': 0.33; 'received:google.com': 0.35; 'easiest': 0.35; 'platforms,': 0.35; 'received:209.85': 0.36; 'subject:: ': 0.37; '12,': 0.37; 'starting': 0.37; 'version': 0.38; 'received:209': 0.38; 'thank': 0.38; 'means': 0.39; 'sure': 0.39; 'build': 0.40; 'future': 0.60; 'more': 0.63; 'concerns': 0.66; 'answer.': 0.72; 'chrisa': 0.84; 'to:none': 0.91; 'python.org,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FEzD23kmSzolIVuWtkPaWj90Az/2BNcEPMpPdfXmedg=; b=e8GhVJw+v8L6lTWyLMU7YXfIkELB0bdkQdgOJe99RIfx+21uUvWS6nmWHYyGJUDZkO w323gpofGO11kEYQExNiSqtcXg90En120QTc59pdE3kZ9Y4h15hXCMJs3GoIih612Cl2 /QliYFD7CykJGl19T/Ac24L7fogpKMd2G5PlLC08w3LtTrA5BVoYbhC4Y2/f5LFVoQQ2 DbCBJg8ZXq8Twaxk7uW+psZXFwf5Lzg8FENqjvBeXuYGWvNrQnmEHRudskX87t/zvxyv C1vC+1O9AVGzuXvrWvHRjJywZxbrxIk1yelIav+3OOZdiVpzNSecM4nLp0obcA45EzDW W6vQ== X-Received: by 10.107.163.146 with SMTP id m140mr4049676ioe.19.1449860000610; Fri, 11 Dec 2015 10:53:20 -0800 (PST) In-Reply-To: <6C6EE445A6F6CE4E8A0FFB51B071A4E2D869BA61@AMERMBX02.PERKINELMER.NET> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100294 On Sat, Dec 12, 2015 at 5:40 AM, Ginga, Dick wrote: > Thank you Chris for this answer. These are the _only_ versions the build creates. Are you saying that wrappers for 3.5 "may" continue to support future versions? That's a Windows-specific concern; there've been changes made to how the Windows build process works, starting with 3.5. It's usually easiest to build against the exact Python that you want to run against; in the case of binaries downloaded from python.org, that basically means having one build for each version (major.minor) you want to support. (I'm not sure about other build concerns - you possibly need 32-bit and 64-bit builds for each version. Others will know more than I do on that.) For non-Windows platforms, it's usually easiest to punt on the whole build process and just distribute source code. C compilers are more generally available on people's Linux systems than on their Windowses. ChrisA