A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-July/090270.html below:

[Python-Dev] PEP 376

[Python-Dev] PEP 376 [Python-Dev] PEP 376Nick Coghlan ncoghlan at gmail.com
Wed Jul 1 14:27:30 CEST 2009
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 at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4