FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tqdm/py-make: :bookmark_tabs: Make implemented in pure Python · GitHub

/ py-make Public

Repository files navigation

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.

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.


pip install py-make

Pull and install in the current directory:

pip install -e git+https://github.com/tqdm/py-make.git@master#egg=py-make

The list of all changes is available either on GitHub's Releases: or on crawlers such as allmychanges.com.

Simply install then execute pymake -p to list commands and pymake <command> to use a command, in a directory containing a Makefile.

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:
    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.

(Since 28 Oct 2016)

pymake --help

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

See the CONTRIBUTING.md file for more information.

Open Source (OSI approved):

Citation information:

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

  • Stephen Larroque (lrq3000, core logic)
  • Casper da Costa-Luis (casperdcl, modularization & maintenance)

We are grateful for all .

(Since 28 Oct 2016)

About

📑 Make implemented in pure Python

Resources

Contributing

Stars

78 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL