Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4204412
  • 博文数量: 176
  • 博客积分: 10059
  • 博客等级: 上将
  • 技术积分: 4681
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-24 12:27
文章分类

全部博文(176)

文章存档

2012年(1)

2011年(4)

2010年(14)

2009年(71)

2008年(103)

分类: Python/Ruby

2009-07-23 00:09:25

Eclipse + PyDev => Google AppE ...
1. install eclipse plug-in PyDev: http://pydev.sourceforge.net/updates/, restart eclipse
2. set python in eclipse: eclipse->window->preference->PyDev->Interpreter->python, choose python.exe
3. create a pydev project with python 2.5. (important!!!)
4. set project properties, pydev->pythonPath->External Libraries->add source folders    
        - google_appengine    
        - google_appengine\lib\django    
        - google_appengine\lib\webob    
        - google_appengine\lib\yaml\lib
        - google_appengine\google\appengine\ext
5. use src folder as app_engine root dir
6. The last thing we need to do now is to add a user-defined starter for our Google App Engine development server:
    * Go to Run -> Open Run Dialog.
    * Choose Python Run and add a new launch configuration (document icon with the plus sign in the top left of the dialog):
    * Name your run configuration.
    * Under "Project", add your Google App Engine Python project.
    * Under "Main Module", enter the location of the "dev_appserver.py" script.
    * Change to the "Arguments" tab and enter "${project_loc}/src" (包括引号) as first argument:
    * Click on Apply to save your changes.
    * Click on Run to run your project.
    
   
参见:
 

阅读(2213) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~