Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
pbt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rst

pbt

https://travis-ci.org/pebete/pbt.svg?branch=master

Python build tool

what?

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.

Install pbt

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.

Basic usage

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

testing

to run pbt core tests run from pbt base folder:

$ ./pbt.sh test

dependencies

  • yaml
  • cookicutter
  • xdg
  • flake8

resources

license

Apache

About

wait for it...

Resources

License

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •