[Distutils] pip, virtualenv, setuptools on Windows

Paul Moore p.f.moore at gmail.com
Mon Jul 7 15:29:23 CEST 2014


On 7 July 2014 14:25, M.-A. Lemburg <mal at egenix.com> wrote:
> On 07.07.2014 15:20, Vinay Sajip wrote:
>> ISTM the click-on-an-MSI-and-everything-works may be OK for a "system-wide" installation for a given version of Python, but I don't see how that can work with venvs (it's the same problem as for bdist_wininst installers). How would one pass the venv (to install into) to a point-and-click installer, without using a command line? Drag-and-drop onto a venv folder is a possibility, but that's not exactly the conventional usage idiom for MSIs.
>
> Perhaps I wasn't clear enough: I am talking about bootstrapping
> a Windows system Python installation with pip, setuptools and
> virtualenv.
>
> Once this is done, virtualenvs can be setup as usual from the
> command line. The problem is getting to that point easily :-)

The MSI for Python 3.4 includes both pip and venv by default, which
pretty much covers this scenario. Setuptools is also included but
that's officially an implementation detail (as the core devs don't
want to "bless" setuptools to the extent that distributing it with
Python would imply). Regardless, "pip install setuptools" does the
job, and you have the environment you're describing.

If you want virtualenv rather than venv, "pip install virtualenv" gets that.

Am I missing something?
Paul


More information about the Distutils-SIG mailing list