ppc64le/linux-1.0.0/: py-make-0.1.3.dev0+ga7d8bbf.d20250607 metadata and description
Makefile execution powered by pure Python
| author_email | Stephen Larroque <[email protected]>, Casper da Costa-Luis <[email protected]> |
| classifiers |
|
| description_content_type | text/x-rst |
| dynamic |
|
| keywords | make,makefile,gnumake,gnu,console,terminal,cli |
| license | MPL-2.0 |
| license_file |
|
| maintainer_email | tqdm developers <[email protected]> |
| metadata_version | 2.4 |
| project_urls |
|
| provides_extras |
|
| requires_dist |
|
| requires_python | >=3.7 |
| File | Tox results | History |
|---|---|---|
py_make-0.1.3.dev0+ga7d8bbf.d20250607-py3-none-any.whl
|
|
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.
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 -p to list commands and pymake <command> to use a command, 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:
pytest
install:
python -m pip install
compile:
$(PY) test.py
circle:
# of life
circle
empty:
# this is a comment
If you get a “Permission Denied” error, please check if maybe your antivirus may be preventing the launch of compiled python scripts, if the Scripts subdirectory is in the PATH, or other issues with the Python install.
Documentation
pymake --help
Contributions
All source code is hosted on GitHub. Contributions are welcome.
See the CONTRIBUTING.md file for more information.