Cookiecutter template for an Pythonic project. See https://github.com/audreyr/cookiecutter.
- Free software: Apache license
- pbr: Set up to use Python Build Reasonableness
- hacking: Enforces Your Hacking Guidelines
- stestr: Runs tests using stestr
- Tox testing: Setup to easily test for Python 2.7, 3.5
- Sphinx docs: Documentation ready for generation and publication
Install cookiecutter:
pip install cookiecutter
Generate a Python package project:
cookiecutter https://github.com/szaher/cookiecutter.git
Pythonic projects that require a working git repo for pbr to work, on newer versions of cookiecutter (>= 0.7.0 released 2013-11-09) this initial commit will be done automatically. Otherwise you will need to init a repo and commit to it before doing anything else:
cd $repo_name git init git add . git commit -a
Then:
- Add the project to