7f5f759f19
Change-Id: Ieea0dc7ed7218e9bf5626e174e6184901efd9761 |
||
---|---|---|
oslo.{{cookiecutter.module_name}} | ||
tools | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
README.rst | ||
cookiecutter.json | ||
openstack-common.conf | ||
tox.ini |
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
- Sphinx docs: Documentation ready for generation and publication
Usage
Generate a Python package project:
cookiecutter https://git.openstack.org/openstack-dev/oslo-cookiecutter.git
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