Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'pypi': 0.07; 'setup.py': 0.07; 'skip:/ 10': 0.07; 'subject:why': 0.09; 'cc:addr:python- list': 0.10; 'package,': 0.13; 'discussions': 0.15; 'foo.': 0.16; 'received:mail-la0-x229.google.com': 0.16; 'setup.py.': 0.16; 'subject:uninstall': 0.16; 'uninstall': 0.16; 'unpacked': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'cc:no real name:2**0': 0.23; '2015': 0.23; 'header:In-Reply- To:1': 0.24; 'admin': 0.24; 'install': 0.25; 'question': 0.26; 'installed': 0.26; 'chris': 0.26; '(e.g.': 0.27; 'plain': 0.27; 'message-id:@mail.gmail.com': 0.28; '(it': 0.29; 'routine': 0.29; 'too.': 0.30; 'url:mailman': 0.31; 'option': 0.31; 'point': 0.33; 'url:python': 0.33; 'option.': 0.33; 'received:google.com': 0.34; 'behind': 0.35; 'url:listinfo': 0.35; 'installing': 0.35; 'something': 0.35; "isn't": 0.35; 'but': 0.36; 'being': 0.36; 'url:org': 0.36; 'there': 0.36; 'quite': 0.37; 'should': 0.37; 'subject:: ': 0.37; 'why': 0.40; 'july': 0.63; 'subject:there': 0.66; 'apt-get': 0.84; 'directory:': 0.84; 'pip': 0.84; '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:to :cc:content-type:content-transfer-encoding; bh=49N5AHgwl70+eYBk68CQ6XQOiKILueNY5+v1o2viIVc=; b=VhQx3QaOkuXqsKT9uWENRq8RcnfGsBvExnzJyZYkBMgOrJAILYIq0xAu8Cm4X5qRbg tuxYADfzIS4l52ryvKQfA+Y7ziyRkFUWCy8zaWE8ZyBk28wpXq5zJB52GeNIRuj2O/me F9BJaVDWDQPDpbzEbyroYVQEho0vsnYM4hdvHchH+uLrg89jv1DjBpB8mCrhVfG5vi+E B3Hu4Y2e5AJ4l922sBZSOC39mTCL0xO+Cpax3wonzgnohwVM5c+24cHXJXVa0py89UCH 7Qx8OPjWZB/Npi9WzG1/FVXaaVD4FKwU+Zf/EM3BdCG4X6CTX5n+HIj3h2hE7gpQP6vn d1dQ== MIME-Version: 1.0 X-Received: by 10.152.23.38 with SMTP id j6mr46643382laf.47.1436171154651; Mon, 06 Jul 2015 01:25:54 -0700 (PDT) In-Reply-To: <3mPPH002XKzFpWF@dovecot04.posteo.de> References: <3mPPH002XKzFpWF@dovecot04.posteo.de> Date: Mon, 6 Jul 2015 10:25:54 +0200 Subject: Re: understanding why there is no setup.py uninstall From: Chris Warrick To: c.buhtz@posteo.jp Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436171163 news.xs4all.nl 2912 [2001:888:2000:d::a6]:37362 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93520 On 5 July 2015 at 11:04, 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. > > > 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=E2=80=99t 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.) --=20 Chris Warrick PGP: 5EAAEA16