Live data from Hacker News

Explicit bootstrapping of pip in Python installations

python.org

11–20 of 78 posts

Re: Explicit bootstrapping of pip in Python installations

#11

Look at the trails Node + NPM have blazed. That's the right move. Next up: Local package installs.

I don't think effective package management solutions were really pioneered by node and NPM.

You could pretty easily re-write your comment and say "Look at the trails Debian + apt have blazed. That's the right move."

Re: Explicit bootstrapping of pip in Python installations

#13

This isn't very big news, in that virtualenv already provides pip in each new env, and you should not be using pip outside virtualenv -- unless it's to install virtualenv!

We're not all building web apps in python - virtualenv is not universally useful.

(Edit: Not that I don't like virtualenv when it's appropriate, but it really bugs me the wrong way when people just throw out generalizations like that)

Re: Explicit bootstrapping of pip in Python installations

#14
post #7

Glorious day! As a person who went to PyCon and experienced first-hand the state of Python packaging, this is excellent news. Good luck to the Python devs in the days to come.

Yes! and with pip you can uninstall packages while with easy_install you can't

Except for when uninstall doesn't work. Which is often.

Re: Explicit bootstrapping of pip in Python installations

#16
post #12

Look at the trails Node + NPM have blazed. That's the right move. Next up: Local package installs.

Isn't virtualenv going to be bundled too?

a flavor of virtualenv was bundled in 3.3 (http://www.python.org/download/releases/3.3.0/) but without pip or easy_install it was a pretty useless feature IMO.

Re: Explicit bootstrapping of pip in Python installations

#17
Vaguely related, this wonderful article by Paul Tagliamonte on how pip coexists with distro package managers (in this case APT): http://notes.pault.ag/debian-python/

Nice reminder that pip is a dev tool and should be used as such. It makes sense to be included in Python.

Re: Explicit bootstrapping of pip in Python installations

#18

This isn't very big news, in that virtualenv already provides pip in each new env, and you should not be using pip outside virtualenv -- unless it's to install virtualenv!

when virtualenv was released with python 3.3 it didnt come with pip.

Re: Explicit bootstrapping of pip in Python installations

#19

This isn't very big news, in that virtualenv already provides pip in each new env, and you should not be using pip outside virtualenv -- unless it's to install virtualenv!

I have no idea how to get virtualenv working. I'm that user that needs it for now!

Re: Explicit bootstrapping of pip in Python installations

#20
post #13

This isn't very big news, in that virtualenv already provides pip in each new env, and you should not be using pip outside virtualenv -- unless it's to install virtualenv!

We're not all building web apps in python - virtualenv is not universally useful. (Edit: Not that I don't like virtualenv when it's appropriate, but it really bugs me the wrong way when people just throw out generalizations like that)

Having tried various ways of distributing desktop apps / non-web daemons, I've found virtualenvs useful there too (with the one fairly large caveat that installing wxWidgets in a virtualenv is a world of pain :( But then in those cases I use the OS-provided packages with the OS package manager, so I still never use virtualenv and pip independently)
Post reply on HN