自己动手安装turbogears -- 搭建基本Python web开发服务器环境

本文是 [自己动手从源代码手动安装Python -- 搭建服务器Python 运行环境]的姊妹篇,
首先从 turbogears 下载安装脚本,由于python的跨平台特性,此文件在windows上和linux上运行都一样,很棒.

上传至服务器后,改变其运行属性: chmod 744 getturbogears.py
运行它即可: python getturbogears.py
将会输出一下信息.



TurboGears Installer
Beginning setuptools/EasyInstall installation and TurboGears download

Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg
Processing setuptools-0.6c8-py2.5.egg
Copying setuptools-0.6c8-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding setuptools 0.6c8 to easy-install.pth file
Installing easy_install script to /usr/python252/bin
Installing easy_install-2.5 script to /usr/python252/bin

Installed /usr/python252/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg
Processing dependencies for setuptools==0.6c8
Finished processing dependencies for setuptools==0.6c8
Searching for TurboGears==1.0.7
Reading http://www.turbogears.org/download/
Reading http://pypi.python.org/simple/TurboGears/
Reading http://www.turbogears.org
Reading http://www.turbogears.org/download/filelist.html
Best match: TurboGears 1.0.7
Downloading http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg
Processing TurboGears-1.0.7-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/TurboGears-1.0.7-py2.5.egg
Extracting TurboGears-1.0.7-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding TurboGears 1.0.7 to easy-install.pth file
Installing tg-admin script to /usr/python252/bin

Installed /usr/python252/lib/python2.5/site-packages/TurboGears-1.0.7-py2.5.egg
Reading http://files.turbogears.org/eggs/
Processing dependencies for TurboGears==1.0.7
Searching for TurboKid>=1.0.4
Reading http://pypi.python.org/simple/TurboKid/
Reading http://www.turbogears.org/docs/plugins/template.html
Reading http://www.turbogears.org/preview/download/
Reading http://docs.turbogears.org/TurboKid
Best match: TurboKid 1.0.4
Downloading http://files.turbogears.org/eggs/TurboKid-1.0.4-py2.5.egg
Processing TurboKid-1.0.4-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg
Extracting TurboKid-1.0.4-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding TurboKid 1.0.4 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg
Searching for TurboJson>=1.1.4,<1.2
Reading http://pypi.python.org/simple/TurboJson/
Reading http://docs.turbogears.org/TurboJson
Best match: TurboJson 1.1.4
Downloading http://pypi.python.org/packages/2.5/T/TurboJson/TurboJson-1.1.4-py2.5.egg#md5=d7bb809e5a0e40ffcc0018854c2eaeb6
Processing TurboJson-1.1.4-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/TurboJson-1.1.4-py2.5.egg
Extracting TurboJson-1.1.4-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding TurboJson 1.1.4 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/TurboJson-1.1.4-py2.5.egg
Searching for TurboCheetah>=1.0
Reading http://pypi.python.org/simple/TurboCheetah/
Reading http://docs.turbogears.org/TurboCheetah
Best match: TurboCheetah 1.0
Downloading http://files.turbogears.org/eggs/TurboCheetah-1.0-py2.5.egg
Processing TurboCheetah-1.0-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg
Extracting TurboCheetah-1.0-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding TurboCheetah 1.0 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg
Searching for simplejson>=1.3
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 2.0.3
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.3.tar.gz#md5=6da5d665c9e772ac65eae9b4ce6d737b
Processing simplejson-2.0.3.tar.gz
Running simplejson-2.0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zLI8TC/simplejson-2.0.3/egg-dist-tmp-7VReHx
Adding simplejson 2.0.3 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/simplejson-2.0.3-py2.5-linux-i686.egg
Searching for RuleDispatch>=0.5a0.dev-r2303
Reading http://pypi.python.org/simple/RuleDispatch/
Couldn't retrieve index page for 'RuleDispatch'
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Best match: RuleDispatch 0.5a1.dev-r2506
Downloading http://files.turbogears.org/eggs/RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg
Processing RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg
Moving RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages
Adding RuleDispatch 0.5a1.dev-r2506 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg
Searching for PasteScript>=1.6.2
Reading http://pypi.python.org/simple/PasteScript/
Reading http://pythonpaste.org/script/
Best match: PasteScript 1.6.3
Downloading http://pypi.python.org/packages/source/P/PasteScript/PasteScript-1.6.3.tar.gz#md5=d91ad7e03d07f94a3206fef13c18cf49
Processing PasteScript-1.6.3.tar.gz
Running PasteScript-1.6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kRaZlE/PasteScript-1.6.3/egg-dist-tmp-upq0Ok
Adding PasteScript 1.6.3 to easy-install.pth file
Installing paster script to /usr/python252/bin
Installing paster script to /usr/python252/bin

Installed /usr/python252/lib/python2.5/site-packages/PasteScript-1.6.3-py2.5.egg
Searching for FormEncode>=0.7.1
Reading http://pypi.python.org/simple/FormEncode/
Reading http://formencode.org
Reading http://formencode.sf.net
Best match: FormEncode 1.0.1
Downloading http://pypi.python.org/packages/2.5/F/FormEncode/FormEncode-1.0.1-py2.5.egg#md5=f9bee5c918efc078b8b5ad38f92b1138
Processing FormEncode-1.0.1-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
Extracting FormEncode-1.0.1-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding FormEncode 1.0.1 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg
Searching for DecoratorTools>=1.4
Reading http://pypi.python.org/simple/DecoratorTools/
Reading http://peak.telecommunity.com/DevCenter/DecoratorTools
Best match: DecoratorTools 1.7
Downloading http://pypi.python.org/packages/2.5/D/DecoratorTools/DecoratorTools-1.7-py2.5.egg#md5=d205a59fc13405c8a2f1c355ee12a599
Processing DecoratorTools-1.7-py2.5.egg
Moving DecoratorTools-1.7-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding DecoratorTools 1.7 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/DecoratorTools-1.7-py2.5.egg
Searching for ConfigObj>=4.3.2
Reading http://pypi.python.org/simple/ConfigObj/
Reading http://www.voidspace.org.uk/python/configobj.html
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0beta5.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b4.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.1.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.2.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.1.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.2.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b3.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.3.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b2.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.4.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.1.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.2.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.1.0.zip
Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.2.zip
Best match: configobj 4.5.3
Downloading http://pypi.python.org/packages/2.5/C/ConfigObj/configobj-4.5.3-py2.5.egg#md5=5e9ff60f5b4909572dcf37d16e22c473
Processing configobj-4.5.3-py2.5.egg
Moving configobj-4.5.3-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding configobj 4.5.3 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/configobj-4.5.3-py2.5.egg
Searching for CherryPy>=2.3.0,<3.0.0alpha
Reading http://pypi.python.org/simple/CherryPy/
Reading http://www.cherrypy.org
Reading http://download.cherrypy.org/cherrypy/2.3.0/
Reading http://download.cherrypy.org/cherrypy/3.0RC1/
Reading http://download.cherrypy.org/cherrypy/3.0.2/
Reading http://download.cherrypy.org/cherrypy/3.1beta/
Reading http://sourceforge.net/project/showfiles.php?group_id=56099
Reading http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload
Reading http://download.cherrypy.org/cherrypy/3.0.1/
Reading http://download.cherrypy.org/cherrypy/3.1.0/
Reading http://download.cherrypy.org/cherrypy/3.0.0/
Reading http://download.cherrypy.org/cherrypy/2.2.1/
Reading http://download.cherrypy.org/cherrypy/3.1.0beta3/
Reading http://download.cherrypy.org/cherrypy/3.1.0rc1/
Reading http://download.cherrypy.org/cherrypy/3.0.3/
Best match: CherryPy 2.3.0
Downloading http://download.cherrypy.org/cherrypy/2.3.0/CherryPy-2.3.0.zip
Processing CherryPy-2.3.0.zip
Running CherryPy-2.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ms6mC6/CherryPy-2.3.0/egg-dist-tmp-rfLhVW
zip_safe flag not set; analyzing archive contents...
cherrypy.config: module references __file__
cherrypy.lib.autoreload: module references __file__
cherrypy.lib.covercp: module references __file__
cherrypy.lib.profiler: module references __file__
cherrypy.tutorial.tut09_files: module references __file__
cherrypy.tutorial.tut10_http_errors: module references __file__
cherrypy.test.benchmark: module references __file__
cherrypy.test.modpy: module references __file__
cherrypy.test.test: module references __file__
cherrypy.test.test_core: module references __file__
cherrypy.test.test_session_filter: module references __file__
cherrypy.test.test_static_filter: module references __file__
cherrypy.test.test_wsgiapp_filter: module references __file__
Adding CherryPy 2.3.0 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg
Searching for kid>=0.9.6
Reading http://pypi.python.org/simple/kid/
Reading http://www.kid-templating.org/
Reading http://kid.lesscode.org/
Reading http://lesscode.org/projects/kid/
Reading http://kid-template.sourceforge.net/
Reading http://splice.sf.net/kid/
Reading http://prdownloads.sourceforge.net/splice/
Best match: kid 0.9.6
Downloading http://pypi.python.org/packages/2.5/k/kid/kid-0.9.6-py2.5.egg#md5=3fc089344a884e7fc954b239a32c649f
Processing kid-0.9.6-py2.5.egg
creating /usr/python252/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg
Extracting kid-0.9.6-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding kid 0.9.6 to easy-install.pth file
Installing kidc script to /usr/python252/bin
Installing kid script to /usr/python252/bin

Installed /usr/python252/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg
Searching for Cheetah>=2.0.1
Reading http://pypi.python.org/simple/Cheetah/
Reading http://www.CheetahTemplate.org/
Reading http://sourceforge.net/project/showfiles.php?group_id=28961
Best match: Cheetah 2.0.1
Downloading http://files.turbogears.org/eggs/Cheetah-2.0.1-py2.5-linux-i686.egg
Processing Cheetah-2.0.1-py2.5-linux-i686.egg
creating /usr/python252/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg
Extracting Cheetah-2.0.1-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages
Adding Cheetah 2.0.1 to easy-install.pth file
Installing cheetah-compile script to /usr/python252/bin
Installing cheetah script to /usr/python252/bin

Installed /usr/python252/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg
Searching for Extremes>=1.1
Reading http://pypi.python.org/simple/Extremes/
Best match: Extremes 1.1
Downloading http://pypi.python.org/packages/2.5/E/Extremes/Extremes-1.1-py2.5.egg#md5=4015e2546295858558cca16faca5f34f
Processing Extremes-1.1-py2.5.egg
Moving Extremes-1.1-py2.5.egg to /usr/python252/lib/python2.5/site-packages
Adding Extremes 1.1 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/Extremes-1.1-py2.5.egg
Searching for PyProtocols>=1.0a0dev-r2302
Reading http://pypi.python.org/simple/PyProtocols/
Reading http://peak.telecommunity.com/PyProtocols.html
Reading http://peak.telecommunity.com/dist/
Best match: PyProtocols 1.0a0dev-r2302
Downloading http://files.turbogears.org/eggs/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg
Processing PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg
Moving PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages
Adding PyProtocols 1.0a0dev-r2302 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg
Searching for PasteDeploy
Reading http://pypi.python.org/simple/PasteDeploy/
Reading http://pythonpaste.org/deploy/
Reading http://pythonpaste.org/deploy/paste-deploy.html
Best match: PasteDeploy 1.3.2
Downloading http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.2.tar.gz#md5=877fcf3fa025a65147fbae87e1765b65
Processing PasteDeploy-1.3.2.tar.gz
Running PasteDeploy-1.3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-SL6FQe/PasteDeploy-1.3.2/egg-dist-tmp-0ZwyIO
warning: no files found matching 'docs/*.html'
warning: no previously-included files found matching 'docs/rebuild'
Adding PasteDeploy 1.3.2 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg
Searching for Paste>=1.3
Reading http://pypi.python.org/simple/Paste/
Reading http://pythonpaste.org
Best match: Paste 1.7.1
Downloading http://pypi.python.org/packages/source/P/Paste/Paste-1.7.1.tar.gz#md5=1c975cd645cd4aff86dab47c6d9059e1
Processing Paste-1.7.1.tar.gz
Running Paste-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CY3Uka/Paste-1.7.1/egg-dist-tmp-0ay6jw
Adding Paste 1.7.1 to easy-install.pth file

Installed /usr/python252/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg
Finished processing dependencies for TurboGears==1.0.7



至此说明安装基本成功,呵呵...
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值