If you like tools (which I do) check out fabric and the set of Fabric tasks I've written across all my projects:
e.g: circuits' fabfile
This should work for just about any Python project and utilizes:
- Sphinx
- py.test/tox
- virtualenv
Some basic workflows:
fab build # build the package in non-development mode
fab develop # build the package in development mode
fab docs # build/regenerate the documentation
fab test # run tie unit test suite
fab release # run through a tested release cycle
Type: fab -l
for a list of commands and fab help:<name>
for help on any command.
Update: Recently we added fab docker
commands to work with Docker
fab docker:build # Build a Docker image
fab docker:publish # Publish Docker image to the Docker Hub
fab docker:run # Run a new Docker container