2009/11/14 Alex Grönholm <[email protected]>:
[..]
>> Semi-related:
>> I was wondering if a pre/post install hook to the install command
>> could be useful.
>>
>
> Distribute itself uses something like that, doesn't it? Having standardized
> pre/post-install hooks might be worth considering.
And that could probably be generalized to any command if we define a new global
option, that would point to a callable for pre or post.
setup(
...
post_install_hooks={'install': [hook1, hook2],},
...
)
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig