[Python-Dev] Built with VS2012 Express for desktop

rahul garg rahulgarg at live.ca
Mon Feb 25 17:35:52 CET 2013


Hello again!

Apparently the executable I built was broken. I tried with Debug configuration on x64 and got a python_d.exe successfully.
However trying to run "python_d.exe -m test" results in an error that cannot import "support" from test.


rahul

From: rahulgarg at live.ca
To: brian at python.org
Date: Wed, 20 Feb 2013 03:03:14 -0500
CC: python-dev at python.org
Subject: Re: [Python-Dev] Built with VS2012 Express for desktop




> Date: Tue, 19 Feb 2013 12:48:02 -0600
> Subject: Re: [Python-Dev] Built with VS2012 Express for desktop
> From: brian at python.org
> To: rahulgarg at live.ca
> CC: python-dev at python.org
> 
> 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/

Thanks! That page is what I should have looked for! 

> > 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.

Thanks again!

rahul
 		 	   		  

_______________________________________________
Python-Dev mailing list
Python-Dev at python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/rahulgarg%40live.ca 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130225/376bc224/attachment-0001.html>


More information about the Python-Dev mailing list