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


Groups > comp.lang.python > #93522

Re: understanding why there is no setup.py uninstall

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.037
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'url:pypi': 0.03; 'distutils': 0.05; 'setup.py': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:why': 0.09; 'python': 0.11; ':-)': 0.14; 'packages.': 0.15; 'foot': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:uninstall': 0.16; 'uninstall': 0.16; 'url:pip': 0.16; 'keys': 0.22; 'sustained': 0.22; 'for?': 0.23; 'admin': 0.24; 'install': 0.25; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; '(e.g.': 0.27; 'packaging': 0.27; 'sequence': 0.27; 'if,': 0.29; 'routine': 0.29; 'wright': 0.29; 'anyone': 0.32; 'url:python': 0.33; 'hopefully': 0.33; 'recommended': 0.34; 'that,': 0.34; 'behind': 0.35; 'to:addr :python-list': 0.35; 'done': 0.35; 'exist': 0.35; 'installing': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'being': 0.36; 'url:org': 0.36; 'tool': 0.36; 'there': 0.36; 'actions': 0.36; 'quite': 0.37; "didn't": 0.37; 'subject:: ': 0.37; "won't": 0.38; 'received:org': 0.38; 'someone': 0.38; 'to:addr:python.org': 0.39; 'why': 0.40; 'hope': 0.61; "you'll": 0.61; 'documents': 0.61; 'more': 0.62; 'feeling': 0.66; 'realise': 0.66; 'subject:there': 0.66; '8bit%:21': 0.70; 'led': 0.73; '_o__)': 0.84; 'apt-get': 0.84; 'disappointed': 0.84; 'pip': 0.84; 'received:125': 0.84; '\xe2\x80\xa6': 0.84; 'glad': 0.86; 'fired': 0.91; 'dirty': 0.93; 'hand,': 0.97
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: understanding why there is no setup.py uninstall
Date Mon, 06 Jul 2015 18:34:11 +1000
References <3mPPH002XKzFpWF@dovecot04.posteo.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:9AszAK6FgC+I1Twu03DvfLqotdo=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.320.1436171668.3674.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1436171668 news.xs4all.nl 2963 [2001:888:2000:d::a6]:46858
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:93522

Show key headers only | View raw


<c.buhtz@posteo.jp> writes:

> I want to understand the design concept behind it.
> Why isn't there no uninstall routine implemented?

What form of answer are you looking for?

Will you be disappointed if the answer entails (as I fear it must)
“because no-one put in the sustained effort to make it work”?

If you merely want to know the sequence of events that led to the
situation, you'll need to go digging through the history of Distutils.

If, on the other hand, you are feeling wronged and want someone to take
responsibility and justify their actions:

> 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).

… then I think you'll find it more productive to realise we *do* have a
better system now.

Part of the better system is that we have the Python Packaging Authority
<URL:http://pypa.io/> which didn't exist when Distutils was designed.
Read the documents there and I hope you'll be glad at the improvement!

More specifically, an important part of the better system is that we now
have Pip <URL:https://pypi.python.org/pypi/pip/>, which is the PyPA
recommended tool for end-users to install *and* uninstall Python packages.

Hopefully by the time you're done with that, you won't need anyone to
justify their actions to you any more :-)

-- 
 \          “I used to be an airline pilot. I got fired because I kept |
  `\       locking the keys in the plane. They caught me on an 80 foot |
_o__)                    stepladder with a coathanger.” —Steven Wright |
Ben Finney

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


Thread

Re: understanding why there is no setup.py uninstall Ben Finney <ben+python@benfinney.id.au> - 2015-07-06 18:34 +1000

csiph-web