使用 Python 编写脚本并发布 P1: 脚本 通常在 Linux 服务器上会遇到在命令行中输入命令的操作,而有些操作包含的命令数目较多或者其中的命令包含的参数较多,如果一个一个的敲命令的话就太麻烦了,有几种做法可以简化操作: 使用 alias 为命令编写别名,比如我之前开发一个网站程序 minor-sspymgr 时,经常需要上传修改后的代码,更新服务器上的代码,重启网站程序.为了方便,我定义一个 alias 别名命令: alias updateMgr='cd ~/minor-sspymgr
6 things I learned about setuptools Python 101: easy_install or how to create eggs « The Mouse Vs. The Python Python 201: An Intro to distutils « The Mouse Vs. The Python Python Packaging: Hate, hate, hate everywhere | Armin Ronacher's Thoughts and W
背景 nova服务构建失败,报错: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers 概述 推荐-Python 包管理工具解惑 openstack/nova setup.py 孔令贤-关于python中的setup.py 簡單的插件框架 - 使用 pkg_resources python setup.py --help-comman