Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail 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:134': 0.05; 'binary': 0.07; 'compiler': 0.07; 'distutils': 0.07; 'builtin': 0.09; 'linear': 0.09; 'setup.py': 0.09; '--------': 0.10; '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; 'newsgroups:': 0.16; 'nick': 0.16; 'provision': 0.16; 'references:': 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; 'williams': 0.24; 'earlier': 0.24; 'cc:2**0': 0.24; 'extension': 0.26; 'distribute': 0.26; 'downloaded': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; "doesn't": 0.30; "i'm": 0.30; 'work.': 0.31; 'gives': 0.31; 'usually': 0.31; '3.2': 0.31; 'anyone': 0.31; 'probably': 0.32; 'weeks': 0.32; 'implemented': 0.33; 'totally': 0.33; 'actual': 0.34; 'date:': 0.34; 'core': 0.34; 'created': 0.35; 'plans': 0.35; 'test': 0.35; 'but': 0.35; 'building': 0.35; 'there': 0.35; 'installing': 0.36; 'similar': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'area': 0.37; 'being': 0.38; 'expected': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'subject:': 0.39; 'reported': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'how': 0.40; 'slowly': 0.60; 'most': 0.60; 'today,': 0.61; 'subject:Fwd': 0.61; 'here:': 0.62; 're:': 0.63; 'provide': 0.64; 'more': 0.64; 'email name :python-list': 0.65; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'article': 0.77; '3.4': 0.84; 'downloadable': 0.84; 'url:latest': 0.91; '2013': 0.98 Date: Fri, 05 Apr 2013 08:38:40 -0400 From: "Colin J. Williams" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Fwd: Re: distutils without a compiler References: <515E2946.5060504@ncf.ca> In-Reply-To: <515E2946.5060504@ncf.ca> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-NCF-Filtered: By ProxSMTP on pallando Fri Apr 5 08:38:45 2013 -0400 (EDT) Cc: Ned Deily X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: cjw@ncf.ca List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 110 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365165906 news.xs4all.nl 6907 [2001:888:2000:d::a6]:43619 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42813
On 04/04/2013 9:30 PM, Colin J. Williams wrote:



-------- Original Message --------
Subject: Re: distutils without a compiler
Date: Tue, 02 Apr 2013 16:26:59 -0700
From: Ned Deily <nad@acm.org>
To: python-list@python.org
Newsgroups: comp.lang.python
References: <515AA9BF.4010602@chamonix.reportlab.co.uk>

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

I understand that easy_install does not make provision
for BLAS and similar linear algebra optimizations.

A few weeks back, I reported that a test ran more slowly
on 3.2 than on 2.7.  This was attributed, by one respondent,
to the absence of these optimizations when using easy_install.

easy_install was used for both of my installations.

I have not yet sorted out how to use the setup.py so
that the optimizations are included.

Colin W.