Python build tool
this tool plans to bring all the development tools from python into a single, comprehensive and coherent set of commands that will provide a default setup and workflow to make it easy to start, build, test, package and publish a python project.
all commands will be plugins, you can add and/or implement yours to suit your needs.
pbt will provide the default setup and workflow with sensible defaults, but the idea is that you can tweak every aspect if you need it.
To install pbt run the following commands:
$ git clone https://www.github.com/pebete/pbt $ cd pbt $ python3 setup.py install # add sudo or --prefix at will
and that's all now you can start using pbt.
you can check the power of pbt with this commands
# makes a flask project from a template $ pbt new flask # install deps listed on project.pbt $ cd myflaskapp $ pbt install # runs the flask app from the entry point in project.pbt $ pbt run # checks the code with flake8 $ pbt check # run the tests $ pbt test # makes the setup.py file from project.pbt $ pbt setup
to run pbt core tests run from pbt base folder:
$ ./pbt.sh test