Built with VS2012 Express for desktop
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? 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? thanks, Rahul
On Tue, Feb 19, 2013 at 12:37 PM, rahul garg
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.
Date: Tue, 19 Feb 2013 12:48:02 -0600 Subject: Re: [Python-Dev] Built with VS2012 Express for desktop From: brian@python.org To: rahulgarg@live.ca CC: python-dev@python.org
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
On Tue, Feb 19, 2013 at 12:37 PM, rahul garg
wrote: 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
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@live.ca To: brian@python.org Date: Wed, 20 Feb 2013 03:03:14 -0500 CC: python-dev@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@python.org To: rahulgarg@live.ca CC: python-dev@python.org
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
On Tue, Feb 19, 2013 at 12:37 PM, rahul garg
wrote: 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@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/rahulgarg%40live.ca
Hello.
This mailing list is to work on developing Python (adding new
features to Python itself and fixing bugs); if you're having problems
learning, understanding or using Python, please find another forum.
Probably python-list/comp.lang.python mailing list/news group is the
best place; there are Python developers who participate in it; you may
get a faster, and probably more complete, answer there. See
http://www.python.org/community/ for other lists/news groups/fora. Thank
you for understanding.
On Tue, Feb 19, 2013 at 01:37:15PM -0500, rahul garg
a) Is there a test suite that I can run to verify that the build is working fine?
http://docs.python.org/3.3/library/test.html Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.
On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman
Hello.
This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing list/news group is the best place; there are Python developers who participate in it; you may get a faster, and probably more complete, answer there. See http://www.python.org/community/ for other lists/news groups/fora. Thank you for understanding.
Oleg, lately I have the feeling you're getting too automatic with this template response. The OP didn't ask how to reverse a list in Python, he was trying to build Python itself (on Windows, no less), which suggests that he may be trying to work *on* Python. Or maybe he isn't, but let's grant him the benefit of the doubt. If python-dev was overwhelmed with such posts, then perhaps we'd have to think about solving the problem; but there is no problem. Being kind to newbies is an important part of meaningful participation in an open source project. Eli
On Tue, 19 Feb 2013 20:37:36 -0800
Eli Bendersky
On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman
wrote: Hello.
This mailing list is to work on developing Python (adding new features to Python itself and fixing bugs); if you're having problems learning, understanding or using Python, please find another forum. Probably python-list/comp.lang.python mailing list/news group is the best place; there are Python developers who participate in it; you may get a faster, and probably more complete, answer there. See http://www.python.org/community/ for other lists/news groups/fora. Thank you for understanding.
Oleg, lately I have the feeling you're getting too automatic with this template response.
+1. This isn't the python-robots mailing-list. Regards Antoine.
On Wed, Feb 20, 2013 at 08:23:19AM +0100, Antoine Pitrou
On Tue, 19 Feb 2013 20:37:36 -0800 Eli Bendersky
wrote: On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman
wrote: Oleg, lately I have the feeling you're getting too automatic with this template response. +1. This isn't the python-robots mailing-list.
Ok, I'll stop. Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.
Le Wed, 20 Feb 2013 13:09:13 +0400,
Oleg Broytman
On Wed, Feb 20, 2013 at 08:23:19AM +0100, Antoine Pitrou
wrote: On Tue, 19 Feb 2013 20:37:36 -0800 Eli Bendersky
wrote: On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman
wrote: Oleg, lately I have the feeling you're getting too automatic with this template response. +1. This isn't the python-robots mailing-list.
Ok, I'll stop.
Thanks! Perhaps we may have to become more automatic if some day we are flooded with newbie messages on the list, but this isn't the case currently. Moreover, the original message here was a build question that probably wouldn't receive any meaningful answer on python-list, which makes it suitable for python-dev. Regards Antoine.
On Wed, Feb 20, 2013 at 10:54:06AM +0100, Antoine Pitrou
Le Wed, 20 Feb 2013 13:09:13 +0400, Oleg Broytman
a ??crit : On Wed, Feb 20, 2013 at 08:23:19AM +0100, Antoine Pitrou
wrote: On Tue, 19 Feb 2013 20:37:36 -0800 Eli Bendersky
wrote: On Tue, Feb 19, 2013 at 10:50 AM, Oleg Broytman
wrote: Oleg, lately I have the feeling you're getting too automatic with this template response. +1. This isn't the python-robots mailing-list.
Ok, I'll stop.
Thanks! Perhaps we may have to become more automatic if some day we are flooded with newbie messages on the list, but this isn't the case currently.
That was the case when I started.
Moreover, the original message here was a build question that probably wouldn't receive any meaningful answer on python-list, which makes it suitable for python-dev.
You are right. I am sorry. Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.
participants (5)
-
Antoine Pitrou
-
Brian Curtin
-
Eli Bendersky
-
Oleg Broytman
-
rahul garg