[Python-Dev] PEP 376

Tarek Ziadé ziade.tarek at gmail.com
Wed Jul 1 10:32:15 CEST 2009


On Wed, Jul 1, 2009 at 10:20 AM, Michael Foord<fuzzyman at 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

The whole point of the RECORD file is to be able to uninstall without
depending on the original
archive used to install


More information about the Python-Dev mailing list