1 安装setuptools
download地址:
http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
#md5=7df2a529a074f613b509fb44feefe74e
$ tar xzvf setuptools-0.6c11.tar.gz
$ python setup.py install
2 安装coverage
download地址:
http://pypi.python.org/packages/source/c/coverage/coverage-3.4.tar.gz
#md5=46782809578c8fd29912c124d2420842
$ tar xzvf coverage-3.4.tar.gz
$ python setup.py install
3 安装nose
download地址:
http://pypi.python.org/packages/source/n/nose/nose-1.0.0.tar.gz
#md5=47a4784c817afa6ef11a505b574584ed
$ tar xzvf nose-1.0.0.tar.gz
$ python setup.py install
4:测试安装结果,直接执行nosetests命令即可
本文出自 “星空孤魂” 博客,请务必保留此出处http://mysqldba.blog.51cto.com/6728219/1598352
原文地址:http://mysqldba.blog.51cto.com/6728219/1598352