Get Set Up to Help With Python Core Development

jieforest發表於2012-05-29
[i=s] 本帖最後由 jieforest 於 2012-5-29 08:58 編輯

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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章