| Store | Cart

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

From: Nathaniel Smith <n...@pobox.com>
Wed, 29 Oct 2014 23:22:37 +0000
On Wed, Oct 29, 2014 at 10:46 PM, Paul Moore <p.f....@gmail.com> wrote:
> On 29 October 2014 22:19, Ethan Furman <eth...@stoneleaf.us> wrote:>>> Yeah, I wondered about that. I'll work up a patch for that. But the>>> more I think about it, it really is trivial:>>>> I am reminded of an interview question I was once asked which was prefaced>> with: "Here's an easy one...">>>> My reply was, if you know the answer, it's easy!>> Yeah, I know what you mean. My take on this is that I agree it's not> easy if you don't know and can't get access to the information, but if> you can, there's very little to it.

That's great, but yeah. In case it helps as a data point, I consider
myself a reasonably technical guy, probably more than your average
python package author -- 15 years of free software hacking, designed a
pretty popular X remote display protocol, helped invent DVCS, have
written patches to gcc and the kernel, numpy co-maintainer, etc. etc.

For the last ~12 months I've had an underlined and circled todo item
saying "make wheels for https://pypi.python.org/pypi/zs/", and every
time I've sat down and spent a few hours trying I've ended up utterly
defeated with a headache. Distutils is spaghetti, and Windows is
spaghetti (esp. if you've never used it for more than checking email
on a friend's laptop), and the toolchain setup is spaghetti, and then
suddenly people are talking about vcvarsall.bats and I don't know what
all. I honestly would totally benefit from one of those
talk-your-grandparents-through-it tutorials ("here's a screenshot of
the dialogue box, and I've drawn an arrow pointing at the 'ok' button.
You should press the 'ok' button.")

>>> - For non-free MSVC, install the appropriate version, and everything just>>> works.>>> - For Python 2.7 (32 or 64 bit), install the compiler for Python 2.7>>> package and everything just works as long as you're using setuptools.>>> - For 32 bit Python 3.2-3.4, install Visual Studio Express and>>> everything just works.>>> - For 64 bit Python 3.2-3.4, install the SDK, set some environment>>> variables, and everything just works.

I think the SDK covers both 32 and 64 bit? If so then leaving visual
studio out of things entirely is probably simpler.

I'm also unsure how you even get both 32- and 64-bit versions of
python to coexist on the same system.

-n

-- 
Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
http://vorpus.org
_______________________________________________
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