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


Groups > comp.lang.python > #83645

Re: What does "pip install" do?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'package,': 0.03; 'pypi': 0.07; "'python": 0.09; 'instance.': 0.09; 'otherwise)': 0.09; 'setup.py': 0.09; 'steps:': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stuff,': 0.16; 'subject:install': 0.16; 'uninstall': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; '(the': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'cc:2**0': 0.24; "i've": 0.25; 'equivalent': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '13,': 0.31; 'extract': 0.31; 'websites.': 0.31; 'run': 0.32; 'packaging': 0.33; 'something': 0.35; 'more,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; "didn't": 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'should': 0.36; 'virtual': 0.37; 'version,': 0.38; 'does': 0.39; 'subject:" ': 0.39; 'how': 0.40; 'simply': 0.61; 'today': 0.64; 'choose': 0.64; '2015': 0.84; 'compiling': 0.84; 'latest,': 0.84; 'to:none': 0.92
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=8oVNr6f5gI1Ka5qfASuk/LRnerCaWa3xTQx6WB+Z4Po=; b=v3uidJm7RHWK2ZR/ESnwT3EKGHig/wi2as7LEA4TkSHDOf0bJnXO45s2GW1f/xAEar iZEHsHx+BdJTgpPBA5A6dT10YgfxAUKv3bf62tkGJ1P+Fem0dt0UsOEeriRYu7lIsLv6 1y8B/XcoCTd14aYz3SJ2hJTvrb6rGs4x+1rWV08rHtc7+D0AEvHMquTgERE/jOBpP1oX zgqYSkpm+4eaDj3HSJ/73g3mvppS4yanW5/McPiAZuAb4JVnw0eMm6PSlC96sUCcaslP pG+qPTNILt1sEfkdpXxOr/Cry03MRyJ8fSNvYXQgwFKNysWCcfN6/Tp9cENvNTUdhQD/ VxKQ==
MIME-Version 1.0
X-Received by 10.107.134.39 with SMTP id i39mr29842145iod.53.1421102806610; Mon, 12 Jan 2015 14:46:46 -0800 (PST)
In-Reply-To <m91i6i$3ft$1@speranza.aioe.org>
References <m91i6i$3ft$1@speranza.aioe.org>
Date Tue, 13 Jan 2015 09:46:46 +1100
Subject Re: What does "pip install" do?
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.15
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.17646.1421102814.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421102814 news.xs4all.nl 2945 [2001:888:2000:d::a6]:54743
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83645

Show key headers only | View raw


On Tue, Jan 13, 2015 at 9:35 AM, Fabien <fabien.maussion@gmail.com> wrote:
>
> I've learned a lot today about python packaging and stuff, thanks to a
> couple of good websites. I've learned how to install a package from PyPi
> with pip, choose which version, upgrade it, uninstall it, use virtualenv,
> BUT I'm still asking myself: what does "pip install" *concretely* do on my
> virtual environment?

As far as I know, it's equivalent to three steps:

1) Download the appropriate version of a package (the latest, if you
didn't say otherwise)
2) Extract that package
3) Run 'python setup.py'.

What setup.py does is up to the package, but for a pure-Python package
it should simply create something in site-packages. It might do a lot
more, though - compiling C or Fortran code, for instance.

ChrisA

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


Thread

What does "pip install" do? Fabien <fabien.maussion@gmail.com> - 2015-01-12 23:35 +0100
  Re: What does "pip install" do? Chris Angelico <rosuav@gmail.com> - 2015-01-13 09:46 +1100
    Re: What does "pip install" do? Fabien <fabien.maussion@gmail.com> - 2015-01-13 08:51 +0100
      Re: What does "pip install" do? Chris Angelico <rosuav@gmail.com> - 2015-01-13 18:59 +1100
      Re: What does "pip install" do? Ben Finney <ben+python@benfinney.id.au> - 2015-01-14 22:08 +1100

csiph-web