Daniel Bengtsson db278b6103 Add ensure-tox support.
Use ensure_global_symlinks from ensure-tox to fix the CI fail. We need
to do that, because when we install the new sub environment in the new
project the tox is not visible. With the ensure_global_symlinks we do a
symlink into /usr/local/bin path.

Co-authored-by: Bernard Cafarelli <bcafarel@redhat.com>

Change-Id: I575e42fe15f16d0bd51597a540a13c4e384ec096
2020-08-07 15:49:55 +02:00
2019-04-19 19:48:28 +00:00
2020-08-07 15:49:55 +02:00
2019-05-31 17:59:08 +00:00

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
Description
Cookiecutter Template for new Oslo libraries
Readme 722 KiB
Languages
Python 83.6%
Shell 16.4%