Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42813
| Date | 2013-04-05 08:38 -0400 |
|---|---|
| From | "Colin J. Williams" <cjw@ncf.ca> |
| Subject | Re: Fwd: Re: distutils without a compiler |
| References | <mailman.29.1364945237.3114.python-list@python.org> <515E2946.5060504@ncf.ca> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.137.1365165906.3114.python-list@python.org> (permalink) |
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 04/04/2013 9:30 PM, Colin J.
Williams wrote:<br>
</div>
<blockquote cite="mid:515E2946.5060504@ncf.ca" type="cite">
<br>
<br>
<br>
-------- Original Message --------
<br>
Subject: Re: distutils without a compiler
<br>
Date: Tue, 02 Apr 2013 16:26:59 -0700
<br>
From: Ned Deily <a class="moz-txt-link-rfc2396E" href="mailto:nad@acm.org"><nad@acm.org></a>
<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:python-list@python.org">python-list@python.org</a>
<br>
Newsgroups: comp.lang.python
<br>
References: <a class="moz-txt-link-rfc2396E" href="mailto:515AA9BF.4010602@chamonix.reportlab.co.uk"><515AA9BF.4010602@chamonix.reportlab.co.uk></a>
<br>
<br>
In article <a class="moz-txt-link-rfc2396E" href="mailto:515AA9BF.4010602@chamonix.reportlab.co.uk"><515AA9BF.4010602@chamonix.reportlab.co.uk></a>,
<br>
Robin Becker <a class="moz-txt-link-rfc2396E" href="mailto:robin@reportlab.com"><robin@reportlab.com></a> wrote:
<br>
<blockquote type="cite">Is there a neat way to get distutils to
report compiler absence? Most windows
<br>
users don't have a compiler so building extensions usually
doesn't work.
<br>
<br>
However, python's builtin batteries would allow pre-built pyds
to be
<br>
downloaded
<br>
in lieu of an actual build.
<br>
<br>
Has anyone created a fallback download compiler or similar?
<br>
</blockquote>
<br>
I'm not totally sure I understand what you are asking but here's a
<br>
guess. Today, probably the most widely-used solution to provide
<br>
packages with pre-built C extension modules is to use setuptools
or its
<br>
Distribute fork and build a bdist egg which can then be downloaded
and
<br>
installed with the easy_install command.
<br>
<br>
Note the whole area of binary distributions for Python is one that
is
<br>
now under intense active development. The standard library
replacement
<br>
for binary eggs will be wheels; various tools to support building
and
<br>
installing them are being designed and implemented and are
expected to
<br>
be part of Python 3.4 with downloadable support for selected
earlier
<br>
releases. It's all happening on the distutils-sig and in various
PEPs.
<br>
Nick Coughlan, the core developer leading the design effort, gives
an
<br>
overview of the current plans here:
<br>
<br>
<a class="moz-txt-link-freetext" href="http://python-notes.boredomandlaziness.org/en/latest/pep_ideas/core_packa">http://python-notes.boredomandlaziness.org/en/latest/pep_ideas/core_packa</a>
<br>
ging_api.html
<br>
<br>
</blockquote>
<big><big>I understand that easy_install does not make provision<br>
for BLAS and similar linear algebra optimizations.<br>
<br>
A few weeks back, I reported that a test ran more slowly<br>
on 3.2 than on 2.7. This was attributed, by one respondent,<br>
to the absence of these optimizations when using easy_install.<br>
<br>
easy_install was used for both of my installations.<br>
<br>
I have not yet sorted out how to use the setup.py so<br>
that the optimizations are included.<br>
<br>
Colin W.<br>
</big></big><br>
</body>
</html>
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll 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