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 | 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