Cookiecutter Template for new Oslo libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hervé Beraud 2204e2dd14 sync oslo-cookiecutter contributing template 1 week ago
oslo.{{cookiecutter.module_name}} sync oslo-cookiecutter contributing template 6 hours ago
tools trivial: refresh template with recent best practices 4 months ago
.gitignore Clean up .gitignore references to personal tools 1 year ago
.gitreview OpenDev Migration Patch 1 year ago
.zuul.yaml Add ensure-tox support. 3 days ago
CONTRIBUTING.rst sync oslo-cookiecutter contributing template 6 hours ago
README.rst Remove references 1 year ago
cookiecutter.json Update for use with oslo libraries 6 years ago
tox.ini [ussuri][goal] Drop python 2.7 support and testing 6 months ago



Cookiecutter template for an Oslo library (part of the OpenStack project). See

  • Free software: Apache license
  • pbr: Set up to use Python Build Reasonableness
  • hacking: Enforces the OpenStack Hacking Guidelines
  • testrepository: Runs tests using testrepository
  • OpenStack-Infra: Ready for OpenStack Continuous Integration testing
  • Tox testing: Setup to easily test for Python 2.6, 2.7, 3.3, 3.4
  • Sphinx docs: Documentation ready for generation and publication


Generate a Python package project:


Oslo libraries require a working git repo for pbr to work, so you need to init a repo and commit to it before doing anything else:

cd oslo.$module_name
git init
git add .
git commit -a


  • Add the project to the OpenStack Infrastructure