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


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

Re: understanding why there is no setup.py uninstall

Started byChris Warrick <kwpolska@gmail.com>
First post2015-07-06 10:25 +0200
Last post2015-07-06 10:25 +0200
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 Warrick <kwpolska@gmail.com> - 2015-07-06 10:25 +0200

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

FromChris Warrick <kwpolska@gmail.com>
Date2015-07-06 10:25 +0200
SubjectRe: understanding why there is no setup.py uninstall
Message-ID<mailman.317.1436171163.3674.python-list@python.org>
On 5 July 2015 at 11:04,  <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).
> --
> https://mail.python.org/mailman/listinfo/python-list

Don’t use setup.py, use pip. If you are working with a pypi package,
just use pip install foo. If you have a local package, you can point
pip to a tarball, or to an unpacked directory:

$ pip install foo-0.1.0.tar.gz
$ pip install /home/kwpolska/bar
$ cd baz; pip install .

pip has an uninstall option. (It should also work with packages
installed with plain setup.py.)

-- 
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

[toc] | [standalone]


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


csiph-web