Cookiecutter Template for new Oslo libraries
Go to file
Daniel Bengtsson 4552af7774 Update the tox minversion parameter.
Update the minversion parameter to use the python -m pip to install
python packages:

https://tox.readthedocs.io/en/latest/changelog.html#id185

It's recommend to use this.

Change-Id: If888ecb343805c0c7f25ad2adfa9ebe98117b6c1
2020-08-12 11:01:26 +02:00
oslo.{{cookiecutter.module_name}} Fix warning in conf.py file. 2020-08-11 11:59:01 +02:00
tools trivial: refresh template with recent best practices 2020-04-01 13:56:26 +02:00
.gitignore Clean up .gitignore references to personal tools 2018-10-05 17:43:14 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:28 +00:00
.zuul.yaml Add ensure-tox support. 2020-08-07 15:49:55 +02:00
CONTRIBUTING.rst sync oslo-cookiecutter contributing template 2020-08-10 15:18:39 +00:00
README.rst Remove git.openstack.org references 2019-05-31 17:59:08 +00:00
cookiecutter.json Update for use with oslo libraries 2014-01-31 15:22:08 -08:00
tox.ini Update the tox minversion parameter. 2020-08-12 11:01:26 +02:00

README.rst

oslo-cookiecutter-openstack

Cookiecutter template for an Oslo library (part of the OpenStack project). See https://github.com/audreyr/cookiecutter.

  • 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

Usage

Generate a Python package project:

cookiecutter https://opendev.org/openstack/oslo-cookiecutter

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

Then:

  • Add the project to the OpenStack Infrastructure