第 2 章 Python 包管理
目录 2.1. setup.py 2.2. distribute 2.3. pip - A tool for installing and managing Python packages 2.3.1. 安装 pip 2.3.1.1. 使用 easy_install 安装 pip 2.3.1.2. Ubuntu 安装 pip 2.3.1.3. Mac 2.3.2. pip 命令 2.1.setup.py http://docs.python.org/3/install/index.html http://docs.python.org/3/distutils/index.html 创建 setup.py 如下: # cat setup.py from distutils.core import setup setup ( name = 'firewall', version = '1.0.0', py_modules = ['firewall'], author = 'neo.chen', author_email = 'netkiller@msn.com', description ...