2012年10月6日 星期六

GAE - Python Development Environment Setup


  1. Install Python 2.7.3 : http://www.python.org/download/releases/2.7.3/
    Insall path : D:\Dev\Python2.7
  2. Install Google App Engine for Python : https://developers.google.com/appengine/downloads?hl=zh-tw#Google_App_Engine_SDK_for_Python
    Installed version :GoogleAppEngine-1.7.2.msi
    Install path : D:\Dev\Google\google_appengine\
    Note : In the first page of setup starting, there is a notice that remind to use python 2.5, never mind, we just use python 2.7, and it is supported.
  3. Install eclipse : http://www.eclipse.org/download/
    Installed version : eclipse-java-juno-SR1-win32-x86_64.zip (here 64 bit version is used)
    Install path : D:\Dev\eclipse
  4. Install eclipse python development plugin: PyDev:
    eclipse update site : http://pydev.org/updates
    1. menu:Help=> Install New Software ...
    2. dialog:label[Work with]:text:"http://pydev.org/updates"=> button:[add]
    3. dialog:lable[Name]:text:"PyDev":label[Location]:text:"http://pydev.org/updates" => button[ok]
    4. checkbox:PyDev:button[Next]=>[Next]=> radio:accept => finish => adialog:checkbox[Aptana...]:button[Accept] => Restart eclipse
    5. Setup
      1. Setup Python Interpreter
        menu:Windows:Perferences => dialog:tree:PyDev:Editor:Intepreter - Python => [Auto Config] =>select:python2.7 => [ok]
      2. Setup workspace encodeing for Chinese compatible
        menu:Windows:Perferences => dialog:tree:Workspace => label[Text for encoding]:radio[Others]:list[UTF-8]

沒有留言: