[Python-Dev] Built with VS2012 Express for desktop

Brian Curtin brian at python.org
Tue Feb 19 19:48:02 CET 2013


On Tue, Feb 19, 2013 at 12:37 PM, rahul garg <rahulgarg at live.ca> wrote:
> Hi.
>
> I downloaded Python 3.3 source, opened up the solution in VS2012 Express for
> Desktop and built the "python" subproject using "Release" and "x64"
> configurations.  I now have a "python.exe" in the PCBuild/amd64 subfolder
> that appears to be working as far as i can see.
>
> I have a few questions:
> a) Is there a test suite that I can run to verify that the build is working
> fine?

Last I checked there are some issues, but most of the tests should
pass. You would run "PCBuild\python.exe -m test" from the top level of
your checkout to see this. It's also covered at
http://docs.python.org/devguide/

> b) I now intend to build some extensions (such as NumPy). Not sure if this
> is the right list, but would I need to modify something in distutils to get
> it working with VS2012?

Yes. You'll probably need to point distutils to the correct batch file
that sets up a VS2012 build environment.


More information about the Python-Dev mailing list