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

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)

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.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_make-0.1.0-py2.py3-none-any.whl (9.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file py-make-0.1.0.tar.gz.

File metadata

  • Download URL: py-make-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/2.7.12

File hashes

Hashes for py-make-0.1.0.tar.gz
Algorithm Hash digest
SHA256 adc98f4fef87d62cfb0b564647a8d288e4b2b2dc2e843c71dd2b6d02045a1f4e
MD5 613059cc999766d104843578d77d627c
BLAKE2b-256 1d782cb001bac6e85797291562b4720af418c1ff512a0319f48cba7005d9de74

See more details on using hashes here.

File details

Details for the file py_make-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: py_make-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/2.7.12

File hashes

Hashes for py_make-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a360a34ff0bdfeeac21736dd2a3773c816435a45b760ac8781c7ae3b15276538
MD5 82ede2f41b122cb188b3195be3c19428
BLAKE2b-256 81c92f5a5bba8aa1cfc10dea7eb5a7dabe038f6c3fa73c15d82b0a3942cfb18a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page