Makefile execution powered by pure Python
Project description
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.
pymake 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.
Table of contents
Installation
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:
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
Contributions
All source code is hosted on GitHub. Contributions are welcome.
See the CONTRIBUTE file for more information.
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size py_make-0.1.1-py2.py3-none-any.whl (9.4 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View hashes |
Filename, size py-make-0.1.1.tar.gz (15.7 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Hashes for py_make-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155feda6b3889106dfc243047216c210f94440bfa0b1abb3aa3394d74646b80b |
|
MD5 | ab6a86a64ad17254afd0464fc19a594b |
|
BLAKE2-256 | be59d5deb42e3485b2bcd9e95a0f58a5b8f9185520dfd0c574702b7fa5741747 |