Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Jaeger 5b6333a5e3 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Cleanup tox.ini, the repo is now python3 only

Change-Id: Ia24cc501831202cb4d710a9a5e9b2fdb8bef070d
2020-04-10 11:06:38 +02:00
Witek Bedyk 8e772475d3 Resolve issues with Sphinx 2.0
There are multiple steps necessary here:

- Switch to openstackdocstheme which, unlike the EOL'd oslosphinx theme,
  supports Sphinx 2.0. This is mostly trivial, though we do need to set
  the 'release' and 'version' options to the empty string since specs,
  like release notes and API docs, are unversioned.
- Require yasfb 0.8.0, which adds support for Sphinx 2.0
- Remove configuration for configuration for the 'autodoc' extension,
  any builder that isn't HTML or LaTeX, or stuff that duplicates
  defaults. All of these were noise that was simply confusing matters.

Change-Id: I41552530a609ba1c7c6b56c1b963fdf1bfb715dc
2019-05-22 10:33:01 +02:00
huang.zhiping 4748818fa8 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Iafb959ea0c81fd0a89faee48949dc0f0af3457b5
2018-10-03 01:59:05 +00:00
Doug Hellmann 5f77375974 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I5220bfe8496d9578e65c14303d9ab6499f7a5aed
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:56:50 -04:00
Witold Bedyk 7f78455376 Set minimum tox version to 2.7
Change-Id: I37ee7e10aa5cf1a1eb8f487622770f5f39b16f7e
2017-09-28 13:48:45 +02:00
Witold Bedyk ad544f387e Define repository structure
Change-Id: Ie2d6f4391f8d711aa057c6cc3ff6fd475ee73754
2017-09-19 18:04:02 +02:00