> > > This advice is not contradicted here < > http://www.virtualenv.org/en/latest/virtualenv.html#installation> > although it seems like the advice basically is, > "Make sure you have pip already, but if you don't, then we have no > particular advice for you." >
that section actually offers 3 scenarios, not just pip - "To install globally with pip" - "To install globally from source" - "To use locally from source" One alternative is to bootstrap via "get-pip.py" > if you haven't seen this, take a look: http://packaging.python.org/en/latest/tutorial.html So it seems that you can (ab?)use get-pip.py as a personal ~/bin/pip. You > just have to know not to type "install". > get-pip has pip inside it, and it's calling "pip install -U pip [setuptools] sys.argv[1:]" (see here: https://raw.githubusercontent.com/pypa/pip/develop/contrib/get-pip.py) the sys.argv[1:] is intended for passing arguments, but technically you can pass other packages and it will work. I don't think we should be recommending "get-pip.py" be used as "got-pip.py" in a talk. the "got-pip.py" idea has come up before, and it's something that should be discussed in full before recommending. also, btw, it's currently under discussion to have pip's default behavior (and get-pip's) be --user installs. https://github.com/pypa/pip/issues/1668 https://groups.google.com/forum/#!topic/pypa-dev/r6qsAmJl9t0 https://github.com/pypa/python-packaging-user-guide/issues/43
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
