[Distutils] prefix in bdist_rpm

Bob Ippolito bob at redivi.com
Thu Feb 23 05:27:53 CET 2006


On Feb 22, 2006, at 7:41 PM, Pavel Roskin wrote:

> On Wed, 2006-02-22 at 19:26 -0800, Bob Ippolito wrote:
>>> The problem is, it worked without that, so users will report it as
>>> a bug
>>> that they cannot install the new version.  Besides, all git related
>>> tools are installed under $HOME/bin by default.
>>
>> It's a bug that the default installation location is not Python's
>> default installation location.
>
> Then what is the proper use of the "prefix", "exec-prefix" and "home"
> options in the install section of setup.cfg?

That same code also parses ~/.pydistutils.cfg and the site-wide  
distutils config.  It makes a lot of sense to set those sorts of  
install options from there.

> If those options cannot be used properly, then maybe their support
> should be removed?

It's not Pythonic to try and stop you from doing everything that  
could possibly be a bad idea.

-bob



More information about the Distutils-SIG mailing list