[Distutils] People want CPAN

Pauli Virtanen pav+sp at iki.fi
Thu Nov 12 12:31:50 CET 2009


Thu, 12 Nov 2009 10:54:41 +0100, Tarek Ziadé wrote:
[clip]
>>>>>> get_install_paths('FOO')
>>>
>>> And that's the API we want to add in sysconfig, roughly.
>>
>> That does not solve the problem about getting FOO in the first place
>> when calling get_install_path.
> 
> Why that ? where "FOO" comes from ? if it's an option you provide at
> build time like you said, earlier, you just pass it to the API to get
> the paths.
> 
> FOO is not coming from nowhere...

If this is not painfully clear already, the user passes FOO to the command

	python setup.py install --prefix=FOO

Now, clearly the distutils install subcommand knows what FOO is.
But does build_ext? Does sysconfig?



More information about the Distutils-SIG mailing list