Giter Site home page Giter Site logo

py3make's Introduction

py3make

PyPI-Status PyPI-Versions PyPI-Downloads

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

LICENCE

Bring basic Makefile support to any system with Python.

Simply install with pip install py3make then execute py3make in a directory containing a Makefile.

py3make works on any platform (Linux, Windows, Mac, FreeBSD, Solaris/SunOS).

py3make does not require any library to run, just a vanilla Python interpreter will do.

The goal is not to reproduce a whole implementation of GNU make, but only a very fast and succinct commands runner. This is often used to ease running tests and deployments locally, before uploading to a continuous integration/continuous deployment system such as GitHub Workflows.

Do not be fooled by the lack of updates: this module is very stable and is very frequently (daily) used in most of my Python projects.

This repository is a "fork" by the original author to regain full editing permissions stolen by a co-author, to update this package with full freedom.


PyPI-Status PyPI-Downloads Libraries-Dependents

pip install py3make

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

Pull and install in the current directory:

pip install -e git+https://github.com/lrq3000/py3make.git

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

Simply install then execute py3make -p to list commands and py3make <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

Sample makefile compatible with py3make:

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

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.

PyPI-Versions

py3make --help

GitHub-Commits GitHub-Issues GitHub-PRs

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

See the CONTRIBUTE file for more information.

Open Source (OSI approved): LICENCE

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

  • Stephen Karl Larroque (lrq3000, core logic & maintenance Py3)
  • Casper da Costa-Luis (casperdcl, modularization & self-referential aliases & ironing out edge cases & documentation)

We are grateful for all GitHub-Contributions!

py3make's People

Contributors

lrq3000 avatar casperdcl avatar

Stargazers

Yash Srivastava avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.