Tarek Ziadé <ziade.ta...@gmail.com> added the comment: To be able to do this fix, I also need to change the way commands are registered in Distutils.
Right now, Distutils scans packages that were provided as "command packages" and just adds all commands from the namespace, using the class name. Which means there's no way to provide a command this way that is not using something else than the class name. To make it better I will introduce an explicit registration mecanism, where a specific mapping will have to be provided in the package, instead of looking directly for "pkgname.command", which is not very handy from a developer point of view. (this behavior will be deprecated but will still be used as the last way to register a command) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6860> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com