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


Groups > comp.lang.python > #83645

Re: What does "pip install" do?

References <m91i6i$3ft$1@speranza.aioe.org>
Date 2015-01-13 09:46 +1100
Subject Re: What does "pip install" do?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.17646.1421102814.18130.python-list@python.org> (permalink)

Show all headers | 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