Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42613 > unrolled thread
| Started by | Ned Deily <nad@acm.org> |
|---|---|
| First post | 2013-04-02 16:26 -0700 |
| Last post | 2013-04-05 08:38 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | Ned Deily <nad@acm.org> |
|---|---|
| Date | 2013-04-02 16:26 -0700 |
| Subject | Re: distutils without a compiler |
| Message-ID | <mailman.29.1364945237.3114.python-list@python.org> |
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
[toc] | [next] | [standalone]
| From | "Colin J. Williams" <cjw@ncf.ca> |
|---|---|
| Date | 2013-04-05 08:38 -0400 |
| Message-ID | <mailman.137.1365165906.3114.python-list@python.org> |
| In reply to | #42613 |
<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>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web