Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93520
| References | <3mPPH002XKzFpWF@dovecot04.posteo.de> |
|---|---|
| Date | 2015-07-06 10:25 +0200 |
| Subject | Re: understanding why there is no setup.py uninstall |
| From | Chris Warrick <kwpolska@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.317.1436171163.3674.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: understanding why there is no setup.py uninstall Chris Warrick <kwpolska@gmail.com> - 2015-07-06 10:25 +0200
csiph-web