Python Extension Building Network
kyosohma at gmail.com
kyosohma at gmail.com
Sat Nov 10 21:43:24 CET 2007
On Nov 10, 1:12 pm, "M.-A. Lemburg" <m... at egenix.com> wrote:
> On 2007-11-10 01:44, kyoso... at gmail.com wrote:
> >>> The directions for MinGW were usually only partially correct. So I
> >>> went through the two sets of directions I found (links on the site)
> >>> and mixed and matched until I got it right.
> >>> There are no directions on how to use Visual Studio 2003 that I've
> >>> found, just some old free edition. those directions were incompatible
> >>> with VS2003. I'll post VS2003's correct usage eventually, but it's
> >>> basically just installing it and then using distutils.
> >> Getting VS2003 ready to compile Python extensions is really easy:
> >> 1. open a command shell
> >> 2. run vcvars32.bat
> >> 3. make sure the Python version you are targetting is on the
> >> PATH
> >> 4. "python setup.py bdist_wininst" or "python setup.py bdist_msi"
> >> 5. pick up the installer in the build\ directory.
> > I didn't need to run vcvars32.bat to make mine work. But that's good
> > to know...I think.
> >> Note: bdist_msi is only available in Python 2.5 and later.
> >> You need VC6 if you want to compile extensions for Python 1.5-2.3
> >> and VC7.1 for Python 2.4 and later.
> > I was aware of that you needed VC6 for 2.3, but I didn't realize it
> > went that far back. And I knew you needed 7.1 for 2.4 and 2.5, but
> > I've heard that they're moving to VS2005 soon.
> AFAIK, Martin (who's building the Windows installers for Python)
> is going to skip VS2005 and go straight for VS2008, but I may be
> > Thanks for the feedback, Marc-Andre!
> You're welcome :-)
> Marc-Andre Lemburg
> Professional Python Services directly from the Source (#1, Nov 10 2007)>>> Python/Zope Consulting and Support ... http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
> :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX 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
Is it okay if I take your instructions for VS2003 and use them on my
website? I'll modify them slightly, but it'll be mostly the same.
More information about the Python-list