How to install Python package from source on Windows

bartc bc at freeuk.com
Tue May 16 17:14:20 EDT 2017


On 16/05/2017 21:18, breamoreboy at gmail.com wrote:
> On Tuesday, May 16, 2017 at 5:09:34 PM UTC+1, bartc wrote:

>> I can't test with Python because it's too complicated to compile,
>> especially on Windows.

> What is the problem with the documentation given here https://docs.python.org/devguide ?
>
> Specifically:-
>
> "and on Windows use:
>
> PCbuild\build.bat -e -d"

Everything?

That PCbuild line is step 3 of Quick Start. You have to get past steps 1 
and 2 first. It talks about something called Git; I don't know what that 
is or what I'm supposed to do with it, but it's a 35MB download. (Not 
that that is very big these days, but 35MB (compressed size and there 
may be more to come) suggests complexity that I don't want to get into.)

The Windows-specific link says I need to use MS VS2015. That's a BIG 
application (I believe in the 1000s MB range for downloading) and my 
track record with this stuff suggests that I will go to all this 
trouble, spend a considerable amount of time, and then it'll fail at 
some point and I won't have a clue why not.

So when I said it was too complicated to compile, I meant exactly that.

By contrast, the program I tested in place of CPython, builds 
effortlessly with compilers in the 0.2MB size range, one of which is Tiny C.

-- 
bartc



More information about the Python-list mailing list