打包手册:https://python-packaging-user-guide.readthedocs.org/en/latest/installing.html#installing-from-a-local-src-tree
http://lingxiankong.github.io/blog/2013/12/23/python-setup/
egg http://www.worldhello.net/2010/12/08/2178.html
http://lesliezhu.github.io/public/2014-11-13-python-packaging.html
打包用于离线安装:
pip bundle -r requirements.txt spam.pybundle #A环境打包 pip install spam.pybundle #B环境离线安装
从某个网址下载示例:
pip install https://bitbucket.org/shimizukawa/logfilter/get/logfilter-0.9.2.zip pip install -f https://bitbucket.org/shimizukawa/logfilter/downloads logfilter #-f --find-links