[Distutils] pip, virtualenv, setuptools on Windows

M.-A. Lemburg mal at egenix.com
Mon Jul 7 16:25:48 CEST 2014


On 07.07.2014 15:29, Paul Moore wrote:
> 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?

Yes: Installers for Python 2.6, 2.7 and 3.3 :-)

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jul 07 2014)
>>> Python Projects, Consulting and Support ...   http://www.egenix.com/
>>> mxODBC.Zope/Plone.Database.Adapter ...       http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
2014-07-21: EuroPython 2014, Berlin, Germany ...           14 days to go

::::: Try our mxODBC.Connect Python Database Interface for free ! ::::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Distutils-SIG mailing list