Éric Araujo <mer...@netwok.org> added the comment:

I have no objection, but you may want to ask on the fellowship ML first.

Should the hooks be run before the removal or just after?  (Debian for example 
has both, which makes four hooks: preinst, postinst, prerm, postrm).  Our 
setup_hooks (used with pysetup commands) are run right after the setup.cfg file 
is parsed, before any operation is started.

Regarding implementation: The hook should be defined in the global section of 
setup.cfg; upon installation, packaging would write this info into the 
dist-info directory (say in an UNINSTALLHOOKS file), which would be read when 
preparing an uninstallation.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12416>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to