Makefile execution powered by pure Python
Project description
py-make
Bring basic Makefile support to any system with Python.
Inspired by work in tqdm.
Simply install then execute pymake in a directory containing a Makefile.
pyamke works on any platform (Linux, Windows, Mac, FreeBSD, Solaris/SunOS).
pymake does not require any library to run, just a vanilla Python interpreter will do.
Installation
Latest PyPI stable release
pip install py-make
Latest development release on github
Pull and install in the current directory:
pip install -e git+https://github.com/tqdm/py-make.git@master#egg=py-make
Changelog
The list of all changes is available either on GitHub’s Releases: or on crawlers such as allmychanges.com.
Usage
Simply install then execute pymake in a directory containing a Makefile.
Known Issues
For compatibility, ensure:
Every alias is preceded by @[+]make (eg: @make alias)
A maximum of one @make alias or command per line
A full list of what is and is not supported is on the issue tracker.
Sample makefile compatible with pymake:
all:
@make test
@make install
test:
nosetest
install:
python setup.py install
Documentation
pymake --help
Contributions
All source code is hosted on GitHub. Contributions are welcome.
See the CONTRIBUTE file for more information.