[Distutils] Install time prefixes and data files

Wolodja Wentland wentland at cl.uni-heidelberg.de
Fri Nov 13 15:01:08 CET 2009


On Fri, Nov 13, 2009 at 21:36 +0900, David Cournapeau wrote:

> Yes. Imagine that I create a library, which includes a firefox plugin
> in python. I need to differentiate between what will end up in firefox
> and the rest.

One thing I find noteworthy/horrifying about your *Firefox* plugin
example is that this would mean that pip would have to install files in
a directory completely unrelated to Python and one that is under the
control of the package manager of the system.

I guess a lot of distribution maintainers would curse the distutils
developers if this becomes common practice for a lot of python packages.

But this is more related to the fact that Python provides a second
package manager that is *distinct* from the system one. It might be a
good idea to display a big WARNING whenever somebody tries to install
distributions (-> python, who came up with this terminology) within a
path that is usually handled by the systems package manager.

This would mean that the *default* install should be PEP 370 compliant
or inside a virtualenv and that installing into system paths should be
enabled explicitly.

BTW - How are uninstalls of distributions (python) handled on which
other distributions depend. Will all rdepends also be uninstalled?

-- 
  .''`.     Wolodja Wentland    <wentland at cl.uni-heidelberg.de> 
 : :'  :    
 `. `'`     4096R/CAF14EFC 
   `-       081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091113/1657e7b0/attachment.pgp>


More information about the Distutils-SIG mailing list