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

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'feature.': 0.07; 'setup.py': 0.07; 'subject:why': 0.09; 'cc:addr:python-list': 0.10; 'discussions': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'setup.py.': 0.16; 'subject:uninstall': 0.16; 'uninstall': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'header :In-Reply-To:1': 0.24; 'admin': 0.24; 'question': 0.26; '(e.g.': 0.27; 'message-id:@mail.gmail.com': 0.28; 'routine': 0.29; 'too.': 0.30; 'option': 0.31; 'environment,': 0.33; 'received:google.com': 0.34; 'behind': 0.35; 'installing': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'being': 0.36; 'there': 0.36; 'quite': 0.37; 'subject:: ': 0.37; 'virtual': 0.38; 'rather': 0.38; 'means': 0.39; 'pm,': 0.39; 'does': 0.39; 'why': 0.40; 'skip:u 10': 0.62; 'subject:there': 0.66; 'jul': 0.72; 'apt-get': 0.84; 'chrisa': 0.84; 'to:none': 0.90; 'dirty': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=GyLbjEh1fg4M1NhjGVMAoTmx6k0kWuQgBBOufxtEJro=; b=fOyzRlvPehItw0Ke09Ruyqhxb/8haCOwuDd1WT6bj72YqLclkL006oqB69JZcRdrgj GwvAvzNo5yXnwHSs39WchenVxdGRbkg/fRSdAKHvDNOCkmgZnrp14K3akeFUY+f0OHjq TqbdRtX8aduxky67G157sdslntpvLFi2XK+YzdlTtNeCHivUyYOf9+FnP4RAnKSfL1CC ljioZtOssINYkWVC41h8jIJYnJEW6CcTduyk6ODLww5ly9MMWmaXbf2Fr+F7AbOkYsXj 8M5klGlA+rDMZj98ghq4HhPgHRsraTTeme2GA5KK6JlL7jGHMOXbUMwY2r1exq4fuGND D4yg==
MIME-Version 1.0
X-Received by 10.42.72.194 with SMTP id p2mr32130775icj.33.1436171004557; Mon, 06 Jul 2015 01:23:24 -0700 (PDT)
In-Reply-To <3mPPH002XKzFpWF@dovecot04.posteo.de>
References <3mPPH002XKzFpWF@dovecot04.posteo.de>
Date Mon, 6 Jul 2015 18:23:24 +1000
Subject Re: understanding why there is no setup.py uninstall
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.316.1436171007.3674.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1436171007 news.xs4all.nl 2935 [2001:888:2000:d::a6]:33492
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4113
X-Received-Body-CRC 4025038178
Xref csiph.com comp.lang.python:93519

Show key headers only | 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