Skip to content
DistributedMake for Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dmpy
tests
.gitignore
LICENSE
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
README.rst
setup.cfg
setup.py

README.rst

Dmpy

DistributedMake for Python.

This project uses Semantic versioning.

Installation from pypi

pip install dmpy

Installation from github

pip install git+git://github.com/kvg/dmpy.git attrs

Examples

Contents of an example dmpy script:

# example.py
from dmpy import DistributedMake, get_dm_arg_parser

args = get_dm_arg_parser().parse_args()
m = DistributedMake(args_object=args)

m.add("test_output_file", None, "echo 'hi world'")
m.execute()

Then run example.py:

# get a dry-run of all commands to be executed
python example.py

# run all commands
python example.py -r

Tests

make test

Bugs

Please raise an issue on the github page to report a bug.

Development

We now have a Pipfile and Pipfile.lock for use with pipenv !

Please always update your Pipfile.lock (pipenv lock) before making a PR.

You can’t perform that action at this time.