I was reading HynekSchlawack’s excellent articleon becoming a Python core developer and decided to find out just how hard it would be to get set up on my machine so that I could be ready to do core development myself,should I ever get the honor of being a part of the team.
Since I run on Windows the most, I’m just going to talk about how I got set up for that OS. I’ve been thinking about trying to help with core development for a while anyway, sonow’s as good a time as any. Let’s find out just how easy or hard the settingup process is!
What You’ll Need
To get up and running as a developer of Python on Windows, you’ll need a Mercurial client to download Python, update and create patches. You can use a command-line tool or you can getTortoiseHg, a shell GUI. Once you have that configured correctly, you can do a
CODE:hg clone http://hg.python.org/cpython
Or use Tortoise to check out therepository. This will get you the latest Python 3.x version.
If you want to help with a maintenancerelease, then you’ll want to read the documentation.
The last major toolyou’ll need is a compiler and the one that’s needed for the latest Python is Microsoft Visual Studio 2010.
Fortunately, you don’t need to purchase the whole thing.
In fact, you can just get the Express version of Visual C++2010 and you’ll be good to go. Note that this tool is not light weight and ends up taking over one gigabyte of space on disc. Sad, but true.
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/301743/viewspace-731345/，如需转载，请注明出处，否则将追究法律责任。