Explicit bootstrapping of pip in Python installations
31–40 of 78 posts
Re: Explicit bootstrapping of pip in Python installations
#32Earlier quoted context omitted.
when virtualenv was released with python 3.3 it didnt come with pip.
Didn't come with it , or didn't install it by default ? AFAIK the default virtualenv behaviour has been "create an environment and then automatically and immediately install pip from the internet", so for the last several years they've been practically tied together, even if they were distributed individually.
In that the following commands have also been required after running pyvenv-3.3, no, python has not "come with" pip:
(venv) $ wget http://python-distribute.org/distribute_setup.py
(venv) $ python distribute_setup.py
(venv) $ easy_install pip
I believe it has been possible to configure pyvenv to do this automatically, but I've never done that.Re: Explicit bootstrapping of pip in Python installations
#33This 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
#34Earlier quoted context omitted.
More importantly, it's nice to assume your users will have pip available no matter what (assuming we all move to Python 3. One day...)
As someone maintaining packages on pypi, I can tell you that demand for Python 3 support is growing and people are beginning to port packages for their own needs. I expect we'll see python 3 overtake python 2 in new projects within 3 years. I realize that's still pretty far off, but these things take time. You have to give the PSF credit for great support of the 2.x series.
Re: Explicit bootstrapping of pip in Python installations
#35Earlier quoted context omitted.
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)
> We're not all building web apps in python - virtualenv is not universally useful. Huh, fair enough. I work on non-webapps too -- could you explain more about your use case?
Re: Explicit bootstrapping of pip in Python installations
#36This 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
#37Earlier quoted context omitted.
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)
> We're not all building web apps in python - virtualenv is not universally useful. Huh, fair enough. I work on non-webapps too -- could you explain more about your use case?
Re: Explicit bootstrapping of pip in Python installations
#38I kinda of like this... but then again I'm kind of wary. Isn't the standard library the place where packages go to die? Isn't the reason pip is actually useful because has a nice health release cycle ( http://www.pip-installer.org/en/latest/news.html ) and isn't frozen into the standard-library ice age of the past? Won't this make it even harder to build a compliant version of python that runs on mobile devices where…
Re: Explicit bootstrapping of pip in Python installations
#39I'm not really a pythonist so I'm not 100% aware of the consequences of this, but as someone who deploys Python-based software every now and then, this just seems to make sense to me. About time really.
Re: Explicit bootstrapping of pip in Python installations
#40I kinda of like this... but then again I'm kind of wary. Isn't the standard library the place where packages go to die? Isn't the reason pip is actually useful because has a nice health release cycle ( http://www.pip-installer.org/en/latest/news.html ) and isn't frozen into the standard-library ice age of the past? Won't this make it even harder to build a compliant version of python that runs on mobile devices where…
I'm just not understanding how it's OK that a standard acceptance of a Python package really means that it should go to the graveyard.