[Distutils] prefix in bdist_rpm

Phillip J. Eby pje at telecommunity.com
Tue Feb 21 21:29:48 CET 2006


At 09:32 PM 2/20/2006 -0500, Pavel Roskin wrote:
>Hello!
>
>StGIT (http://www.procode.org/stgit/) has following setup.cfg:
>
>[install]
>prefix: ~
>
>The purpose of this is to install StGIT in the home directory, so that
>no root permissions are required.  Unfortunately, this setting also
>affects bdist_rpm - the package would installs all files in the home
>directory or the user who created it.
>
>I don't see any way to fix it in setup.cfg.

If I understand the issue correctly, the proper fix is to remove the prefix 
setting, and have users specify "--prefix=~" when installing.



More information about the Distutils-SIG mailing list