Cookiecutter Template for new Oslo libraries
2dcb5eef20
Remove LANG, LANGUAGE, and LC_ALL settings from tox to mirror https://review.openstack.org/#/c/72233 Change-Id: I410a4dc3de622ddb3886df897de6d9a1311dd2b1 |
||
---|---|---|
oslo.{{cookiecutter.module_name}} | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
cookiecutter.json | ||
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