[Distutils] Install time prefixes and data files

David Cournapeau cournape at gmail.com
Fri Nov 13 13:36:41 CET 2009


On Fri, Nov 13, 2009 at 7:38 PM, Wolodja Wentland
<wentland at cl.uni-heidelberg.de> wrote:

>
> Could you elaborate on this idea please? Do you mean that megabars
> plugins are shipped in a different distribution than megabar itself?

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.

Automake has this ability, for example. You say something like:

megabardir = $(exec_prefix)/share/megabar/site
magabar_DATA = megabar_plugin.py

And automake has this convention that *dir is a dir and *_DATA is the
data which go into this directory. Given that we have a real language
here, there is no need for those conventions.

David


More information about the Distutils-SIG mailing list