Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93519

Re: understanding why there is no setup.py uninstall

References <3mPPH002XKzFpWF@dovecot04.posteo.de>
Date 2015-07-06 18:23 +1000
Subject Re: understanding why there is no setup.py uninstall
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.316.1436171007.3674.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Jul 5, 2015 at 7:04 PM,  <c.buhtz@posteo.jp> wrote:
> This question is not technical.
> I know that there is no 'uninstall' Option in a setup.py.
> I know this discussions and workarounds for that problem, too.
> <http://stackoverflow.com/questions/1550226/python-setup-py-uninstall>
>
> I want to understand the design concept behind it.
>
> Why isn't there no uninstall routine implemented?
>
> For me as a user and admin it feels quite dirty when installing
> something with the setup.py but then not being able to remove it clean
> like I would do it with packages of my system-package-manager (e.g. with
> apt-get on a debianized system).

If you want a package manager, don't use setup.py itself - use pip,
which does have an uninstallation feature. Alternatively, use a
virtual environment, which means installations happen there rather
than into the system directory - you can clean it up just by wiping
out one tree.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: understanding why there is no setup.py uninstall Chris Angelico <rosuav@gmail.com> - 2015-07-06 18:23 +1000

csiph-web