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


Groups > comp.lang.python > #93519 > unrolled thread

Re: understanding why there is no setup.py uninstall

Started byChris Angelico <rosuav@gmail.com>
First post2015-07-06 18:23 +1000
Last post2015-07-06 18:23 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#93519 — Re: understanding why there is no setup.py uninstall

FromChris Angelico <rosuav@gmail.com>
Date2015-07-06 18:23 +1000
SubjectRe: understanding why there is no setup.py uninstall
Message-ID<mailman.316.1436171007.3674.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web