12 Nov
2009
12 Nov
'09
11:31 a.m.
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?