| Store | Cart

Re: [Python-Dev] Status of C compilers for Python on Windows

From: Paul Moore <p.f....@gmail.com>
Wed, 29 Oct 2014 23:14:41 +0000
On 29 October 2014 23:02, Ethan Furman <eth...@stoneleaf.us> wrote:
> On 10/29/2014 03:46 PM, Paul Moore wrote:>>>> On 29 October 2014 22:19, Ethan Furman <eth...@stoneleaf.us> wrote:>>>>>>>>>    - where one should be at when one starts the compile process>>>>>> I don't understand this. It's just "pip wheel foo" to build a wheel>> for foo (which will be downloaded), or "pip wheel ." or  "python>> setup.py bdist_wheel" as you prefer for a local package.>>> Hmmm...  That looks like it's for installing/compiling somebody else's> package.  Is that last command sufficient to prepare one's own wheel for> uploading to PyPI, or there something else to do?

Oh, I see what you're thinking.

I explicitly *don't* want to get into general packaging issues - they
are covered elsewhere. The point here is that if you have the right
compiler set up, you can read any generic packaging instructions and
it doesn't matter whether there's C code involved. That's it.

But yes, "python setup.py bdist_wheel" is how you build a wheel for
upload. That's true whether your project includes C extensions or not.

I'm also not expecting to explain to people how to build any
dependencies (for example, PyYAML depends on the C compiler being able
to find libyaml). That *is* harder on Windows than on Linux, because
there's no "system location" equivalent to /usr/local/include and
/usr/local/lib. But again, I consider this to be outside the scope of
the document, because it's specific to the particular project you're
building.

Paul
_______________________________________________
Python-Dev mailing list
Pyth...@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.com

Recent Messages in this Thread
Tony Kelman Oct 28, 2014 08:10 am
Stephen J. Turnbull Oct 28, 2014 01:45 pm
Tony Kelman Oct 28, 2014 02:46 pm
Paul Moore Oct 28, 2014 03:24 pm
Stephen J. Turnbull Oct 29, 2014 03:59 am
Tres Seaver Oct 29, 2014 02:22 pm
R. David Murray Oct 29, 2014 02:31 pm
Antoine Pitrou Oct 29, 2014 02:46 pm
Nick Coghlan Oct 29, 2014 02:55 pm
Nathaniel Smith Oct 29, 2014 03:31 pm
Paul Moore Oct 29, 2014 08:05 pm
Donald Stufft Oct 29, 2014 08:26 pm
Paul Moore Oct 29, 2014 10:09 pm
Donald Stufft Oct 29, 2014 10:11 pm
Ethan Furman Oct 29, 2014 10:19 pm
Paul Moore Oct 29, 2014 10:46 pm
Ethan Furman Oct 29, 2014 11:02 pm
Donald Stufft Oct 29, 2014 11:05 pm
Paul Moore Oct 29, 2014 11:14 pm
Nathaniel Smith Oct 29, 2014 11:22 pm
Paul Moore Oct 29, 2014 11:45 pm
Paul Moore Oct 29, 2014 11:57 pm
Steve Dower Oct 29, 2014 11:49 pm
Terry Reedy Oct 30, 2014 03:33 am
R. David Murray Oct 30, 2014 12:59 pm
Terry Reedy Oct 30, 2014 05:46 pm
Tres Seaver Oct 29, 2014 03:07 pm
Antoine Pitrou Oct 29, 2014 03:21 pm
Steve Dower Oct 29, 2014 03:37 pm
Donald Stufft Oct 29, 2014 05:20 pm
Terry Reedy Oct 30, 2014 03:41 am
Nick Coghlan Oct 29, 2014 03:09 pm
Antoine Pitrou Oct 29, 2014 03:25 pm
David Cournapeau Oct 29, 2014 05:17 pm
David Cournapeau Oct 29, 2014 05:19 pm
R. David Murray Oct 29, 2014 04:19 pm
Glenn Linderman Oct 28, 2014 09:21 pm
Steve Dower Oct 29, 2014 04:17 am
Messages in this thread