How to install Python package from source on Windows

Chris Angelico rosuav at gmail.com
Tue May 16 18:33:39 EDT 2017


On Wed, May 17, 2017 at 8:17 AM, bartc <bc at freeuk.com> wrote:
> On 16/05/2017 22:18, Chris Angelico wrote:
>>
>> On Wed, May 17, 2017 at 7:14 AM, bartc <bc at freeuk.com> wrote:
>>>
>>> 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.)
>>
>>
>> It's 2017 and you're a programmer. Are you unfamiliar with source
>> control, or just unfamiliar with git? Either way, you should look into
>> correcting that.
>
>
> Sorry, no I don't. I like to do things the easy way. Other people can tie
> themselves up in knots if they like, with all these complicated tools.
> (Which, from what I can gather from the thread, don't always work as
> expected.)

Then you are stuck in your own little bubble. That's fine as long as
you never try to foist your software OR your system on anyone else.
The rest of us collaborate with other people.

> I understand that CPython is a C application, ie. a bunch of .c and .h
> sources. So to build it, I need the sources, and a C compiler, yes?
>
> So you download the sources (I've done that, actually; funnily enough I
> didn't appear to need that Git thing). I've got several C compilers, but not
> VS2015, and even managed to compile one module with two of them, including
> Tiny C.

Sure, you can download a snapshot without git. How would you
contribute some changes upstream?

> But now I need to know which files go where. This information I doubt I'm
> going to get since developers like to hide this stuff in 'configure' files
> and makefiles and project files. Sometimes it is necessary to run a program
> to create a specific version of a file or some essential header or whatever.

How many combinations of compiler, standard library, operating system,
and CPU architecture do you support? Again, you're stuck in your own
petty little bubble and have no clue what it takes to build a big
project.

> We don't need to be locked in to these massive toolsets, where acquiring
> them, learning them, and coaxing them to work is considerably more effort
> than what we're trying to achieve in the first place.

You don't, because you've never used CPUs with different endianness,
or C standard libraries that vary in what functions they support, or
OSes that vary in the semantics of process starting and termination.
The rest of us do.


On Wed, May 17, 2017 at 7:35 AM, mm0fmf <none at invalid.com> wrote:
> I smell trolling rather than ignorance.

Seems somewhere in between. It's wilful ignorance.

ChrisA



More information about the Python-list mailing list