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


Groups > comp.lang.python > #42613

Re: distutils without a compiler

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'binary': 0.07; 'compiler': 0.07; 'distutils': 0.07; 'builtin': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'developer': 0.10; 'python': 0.11; 'windows': 0.15; 'command.': 0.16; 'easy_install': 0.16; 'egg': 0.16; 'fallback': 0.16; 'fork': 0.16; 'guess.': 0.16; 'nick': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'setuptools': 0.16; 'subject:distutils': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'library': 0.18; "python's": 0.19; 'header :User-Agent:1': 0.23; 'earlier': 0.24; 'extension': 0.26; 'distribute': 0.26; 'downloaded': 0.26; 'asking': 0.27; 'header:X -Complaints-To:1': 0.27; 'installed': 0.27; "doesn't": 0.30; "i'm": 0.30; 'work.': 0.31; 'gives': 0.31; 'usually': 0.31; 'anyone': 0.31; 'probably': 0.32; 'development.': 0.33; 'implemented': 0.33; 'totally': 0.33; 'actual': 0.34; 'core': 0.34; 'created': 0.35; 'plans': 0.35; 'but': 0.35; 'building': 0.35; 'there': 0.35; 'installing': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'area': 0.37; 'being': 0.38; 'expected': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'users': 0.40; 'most': 0.60; 'today,': 0.61; 'here:': 0.62; 'provide': 0.64; 'received:204': 0.75; 'article': 0.77; '3.4': 0.84; 'downloadable': 0.84; 'received:204.14': 0.84; 'releases.': 0.91; 'url:latest': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: distutils without a compiler
Date Tue, 02 Apr 2013 16:26:59 -0700
References <515AA9BF.4010602@chamonix.reportlab.co.uk>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.191
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.29.1364945237.3114.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364945237 news.xs4all.nl 6970 [2001:888:2000:d::a6]:48843
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:42613

Show key headers only | View raw


In article <515AA9BF.4010602@chamonix.reportlab.co.uk>,
 Robin Becker <robin@reportlab.com> wrote:
> Is there a neat way to get distutils to report compiler absence? Most windows 
> users don't have a compiler so building extensions usually doesn't work.
> 
> However, python's builtin batteries would allow pre-built pyds to be 
> downloaded 
> in lieu of an actual build.
> 
> Has anyone created a fallback download compiler or similar?

I'm not totally sure I understand what you are asking but here's a 
guess.  Today, probably the most widely-used solution to provide 
packages with pre-built C extension modules is to use setuptools or its 
Distribute fork and build a bdist egg which can then be downloaded and 
installed with the easy_install command.

Note the whole area of binary distributions for Python is one that is 
now under intense active development.  The standard library replacement 
for binary eggs will be wheels;  various tools to support building and 
installing them are being designed and implemented and are expected to 
be part of Python 3.4 with downloadable support for selected earlier 
releases.  It's all happening on the distutils-sig and in various PEPs.  
Nick Coughlan, the core developer leading the design effort, gives an 
overview of the current plans here:

http://python-notes.boredomandlaziness.org/en/latest/pep_ideas/core_packa
ging_api.html

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Re: distutils without a compiler Ned Deily <nad@acm.org> - 2013-04-02 16:26 -0700
  Re: Fwd: Re: distutils without a compiler "Colin J. Williams" <cjw@ncf.ca> - 2013-04-05 08:38 -0400

csiph-web