[Distutils] installing .py plugins to an alternate directory

David Cournapeau cournape at gmail.com
Sat Dec 5 03:10:26 CET 2009


On Sat, Dec 5, 2009 at 10:27 AM, Andrew Dalke <dalke at dalkescientific.com> wrote:
> On Dec 3, 2009, at 4:46 AM, David Cournapeau wrote:
>> If you think this is insane, you are not alone :)
>
> I think that by hooking into "data_files" I can be a bit less insane. What's wrong with this?

The problem of data_files is that its semantics are heavily changed
between the different tools (distutils, setuptools, etc...), so
covering all cases is difficult. From my experience, creating a new
command makes the thing more robust against monkey patching (don't
expect too much, though).

David


More information about the Distutils-SIG mailing list