python build jelly - a simple, extensible pythonic build framework
Project description
Python Build Jelly
New
just added zsh completion! found in the file zsh.sugar
Anyway, PBJ is a simple, extensible pythonic build framework, whose purpose is to be dead simple for the basic cases.
Here’s an example:
from pbj import Builder, cmd import os build = Builder("PJs") build.cmd("jstest", ("js", "test/runtests.js")) build.clean("build", "test/py/*.js") @build.file("build/pjslib.js", depends="jslib/*.js") def jslib(name): text = cmd("cat", "jslib/*.js") if not os.path.exists("build"): os.mkdir("build") open("build/pjslib.js").write(text) if __name__ == "__main__": build.run()
Cool things: targets are classes, and decorate functions.
And…this project is just starting out, so I’ll fill the rest in later.
Included:
disttest - a drop-in plugin to add a “setup.py test” for distutils
Cheers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pbj-0.1.2.tar.gz
(10.5 kB
view details)
File details
Details for the file pbj-0.1.2.tar.gz
.
File metadata
- Download URL: pbj-0.1.2.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91120b6db07df0dce7615b375d251574fd1fbfc57835d6b25c27e17ee0da521c |
|
MD5 | 8882bf878e28df6cf35b3236c2a3bd60 |
|
BLAKE2b-256 | 46183135c7675cb0b100427358ff63b37cddc9b51099a3ad1500e0214587e219 |