61a80f07ac
https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation says: Note: We strongly discourage project teams from adding commands to the docs environment beyond: sphinx-build -W -b html doc/source doc/build/html Discussion on #openstack-doc prompted the suggestion to adjust the cookiecutter templates accordingly: http://eavesdrop.openstack.org/irclogs/%23openstack-doc/%23openstack-doc.2018-08-09.log.html#t2018-08-09T16:04:54 Also update requirements.txt. Change-Id: I8f23c82405692e9984ed1089fa44ac25cbc27aeb |
||
---|---|---|
oslo.{{cookiecutter.module_name}} | ||
tools | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
README.rst | ||
cookiecutter.json | ||
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, 3.4
- 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