
Kevin Teague 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 just be:
$ python setup.py uninstall
I was actually thinking of something more along the lines of: python -m distutils uninstall <whatever> (Older Pythons won't reliably let you execute a package like that, but 3.1+ and 2.7+ let you do it by including a __main__ module in the package) However, having uninstall as a command supported by setup.py also makes a certain amount of sense. Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------