什么是PyPI?注册了一个dotcloud,但不会用

菜鸟一个
刚在dotcloud注册了一个,想自己搞个应用练练手
刚看它的get started, 接下来要安装DotCloud CLI (command-line interface) 了
他说:

You should then be able to install the CLI. Thanks to PyPI, this is as simple as:

(dotcloud_cli)$ sudo easy_install dotcloud
Searching for dotcloud
Reading http://pypi.python.org/simple/dotcloud/
Reading http://www.dotcloud.com
Best match: dotcloud 0.1.2
Downloading http://...
[some pages of easy_install doing its usual job]
Finished processing dependencies for dotcloud

这个PyPi怎么用呢? 怎么安装?
我理解他就像是ubuntu下的apt-get,perl的 cpan
但是我怎么才能用上它呢? 我现在在win下
这个pypi要安装吗?

看了下http://wiki.python.org/moin/CheeseShopTutorial 也没看明白

过来人给点拔一下吧

作者: actan   发布时间: 2011-05-27

唉,硬着头皮往下看了看
发现还有一种 Easy Installation

仔细看看它们的说明貌似还是说明白了
http://peak.telecommunity.com/DevCenter/EasyInstall#id3

原来要下 easy_install tool
http://pypi.python.org/pypi/setuptools#downloads

对照python版本装上
然后 python目录下会多一个Script目录,里面就有easy_install.exe (win)

运行这个easy_install 后面加参数 包名就行了

我运行了 easy_install dotcloud
就开始安装了

easy_install是不难
不过还是不理解这个与PyPI 有什么关系??

作者: actan   发布时间: 2011-05-27