纯蟒蛇执行力
py-make的Python项目详细描述
为使用python的任何系统提供基本的Makefile支持。
灵感来自tqdm的作品。
只需安装然后在包含Makefile的目录中执行pymake。
pymake适用于任何平台(linux、windows、mac、freebsd、solaris/sunos)。
pymake不需要运行任何库,只需要一个普通的python 翻译就行了。
目录
Installation
Latest development release on GitHub
拉入并安装到当前目录:
pip install -e git+https://github.com/tqdm/py-make.git@master#egg=py-make
Changelog
所有更改的列表可在Github的版本中找到: 或爬虫程序,如 allmychanges.com。
Usage
只需安装然后在包含Makefile的目录中执行pymake。
Known Issues
为了兼容,请确保:
- 每个别名前面都有@[+]make(例如:@make alias)
- 最多一个@别名或命令每行< /LI>
支持和不支持的内容的完整列表位于 issue tracker。
示例makefile与pymake:
兼容PY=python -m py_compile .PHONY: all test install compile all: @+make test @make install test: nosetest install: python setup.py\ install compile: $(PY) test.py circle: # of life circle empty: # this is a comment