Skip to main content

Makefile execution powered by pure Python

Project description

PyPI-Status PyPI-Versions

Build-Status Coverage-Status Branch-Coverage-Status Codacy-Grade Libraries-Rank

DOI-URI LICENCE OpenHub-Status Gift-Casper

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

PyPI-Status PyPI-Downloads Libraries-Dependents

pip install py-make

Latest development release on GitHub

GitHub-Status GitHub-Stars GitHub-Commits GitHub-Forks GitHub-Updated

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: GitHub-Status or on crawlers such as allmychanges.com.

Usage

Simply install then execute pymake in a directory containing a Makefile.

Known Issues

For compatibility, ensure:

  1. Every alias is preceded by @[+]make (eg: @make alias)
  2. 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

Documentation

PyPI-Versions README-Hits (Since 28 Oct 2016)

pymake --help

Contributions

GitHub-Commits GitHub-Issues GitHub-PRs OpenHub-Status

All source code is hosted on GitHub. Contributions are welcome.

See the CONTRIBUTE file for more information.

LICENCE

Open Source (OSI approved): LICENCE

Citation information: DOI-URI

Authors

The main developers, ranked by surviving lines of code (git fame -wMC), are:

We are grateful for all GitHub-Contributions.

README-Hits (Since 28 Oct 2016)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-make-0.1.1.tar.gz (15.7 kB view hashes)

Uploaded source

Built Distribution

py_make-0.1.1-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page