Tarek Ziadé wrote: > On Wed, Jul 1, 2009 at 10:20 AM, Michael Foord<fuzzy...@voidspace.org.uk> > wrote: >>> Uninstall as a command feels a little weird. Since "python setup.py >>> [some-command]" implies that the setup.py contains information about the >>> distribution that the command is being applied to. So instead of: >>> >>> $ python setup.py uninstall some_package >> It could be: >> >> $ python -m distutils uninstall some_package >> >> Asymmetrical with the install of course. >> > > Yes exactly, I was going to add: > > $ python -m distutils.uninstall some_package
A directly executable submodule is an even better idea than making distutils itself executable. Definitely worth mentioning in the PEP in the section on uninstallation support. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com