linux下turbogears的离线安装

先安装setup_tools


把要安装的包都放到一个目录下 把除egg的解压
1    Cheetah-2.0.1    
easy_install-2.5 ./Cheetah-2.0.1-py2.5-linux-i686.egg
2    CherryPy-2.3.0
python2.5 setup.py install
3    FormEncode-0.9
easy_install-2.5 ./FormEncode-0.9-py2.5.egg
4    kid-0.9.6
python2.5 setup.py install
5    Paste-1.6
easy_install-2.5 ./Paste-1.6-py2.5.egg
6    PasteDeploy-1.3.1
python2.5 setup.py install
7    PasteScript-1.6.1.1
easy_install-2.5 ./PasteScript-1.6.1.1-py2.5.egg
8    SQLObject-0.9.3
easy_install-2.5 ./SQLObject-0.9.3-py2.5.egg
9    TurboCheetah-1.0
easy_install-2.5 ./TurboCheetah-1.0-py2.5.egg
10    configobj-4.4.0
easy_install-2.5 ./configobj-4.4.0-py2.5.egg
11    DecoratorTools-1.7\
easy_install-2.5 ./DecoratorTools-1.7-py2.5.egg
12    PyProtocols-1.0a0dev_r2082
python2.5 setup.py install
13    elementtree-1.2.7-20070827-preview.zip
python2.5 setup.py install
14    TurboJson-1.1.1-py2.5
easy_install-2.5 ./TurboJson-1.1.1-py2.5.egg
15    TurboKid-1.0.4
easy_install-2.5 ./TurboKid-1.0.4-py2.5.egg
16    安装TurboGears
python2.5 setup.py install
17    docutils-0.4
python2.5 setup.py install
18    自己安装sqlite3
mkdir bld
cd bld
../../configure --disable=tcl
make
make install

/etc/ld.so.conf 修改添加需要的sqlite位置 或者ln -s /usr/local/lib/libsqlite3.* /usr/lib
19    安装pysqlite
python2.5 setup.py build
python2.5 setup.py install
测试
python2.5
from pysqlite2 import test
test.test()

你可能感兴趣的:(linux,sqlite,Tcl)