Commit Graph

6 Commits

Author SHA1 Message Date
melanie witt 604cc59ada Remove setup.py and setup.cfg
Theses used to be used for building docs in the past and were made
obsolete with change Icc65afd5f6c0e22147b179c16d6a4fa5f47954ce.

A recent release of setuptools 61.0.0 introduced a breaking change [1]
which caused our openstack-tox-docs and openstack-tox-pep8 jobs to fail
with:

  error: Multiple top-level packages discovered in a flat-layout:
    ['specs', 'priorities'].

This removes setup.py and setup.cfg from use in tox.ini to resolve the
issue and they are not needed anyway.

Related-Bug: #1966382

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: Ib90065a62bdef235e83173c73894c478af0df5fa
2022-03-29 20:07:31 +00:00
Andreas Jaeger d6e5ad7766 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Remove install_command from tox.ini, the default is fine

Change-Id: I693afdb7097b156935424c5549e1b22a08bf2773
2020-04-08 11:53:11 +02:00
Stephen Finucane 0a4c1bcaeb Mitigate 'no "man_pages" config value' error
For some reason, the gate was failing with the following message:

    "WARNING: no "man_pages" config value found; no manual pages will be
    written"

I don't know why this has suddenly started happening, but it was
mitigated by 'I97d4ade4'. However, this change didn't fix the root cause
of the issue, which is that 'pbr' defaults to building both html and man
page output and we don't need/want the latter.

Disable the man page builder entirely. This allows us to remove all man
page-related configuration in the process, seeing as it'll never be
used.

Change-Id: I83bb54f413cbad29afb2233043150fb037bca3bd
2017-04-12 10:13:48 +01:00
Matt Riedemann ad4c1c5fe7 Update requirements to fix pbr 2.0.0 fail
nova-specs doesn't sync requirements updates from the
global requirements repo and doesn't have the correct
requiremnts ranges for hacking which is pulling in
pbr 2.0.0 which breaks with warnerrors=True (since that
was removed in 2.0.0).

This syncs up the requirements with the latest from
the requirements repo and updates the hacking versions.

Change-Id: I8db1038693c5047ebffd0065055efc5ea211b106
Related-Bug: #1668848
2017-03-01 17:24:44 -05:00
ZhiQiang Fan da6858c621 [Trivial] Remove executable privilege of setup.py
This file actually is not required to be executable.

Change-Id: Idfd32154d53060528da2eabfaed20e8bc8bbfa08
2016-04-29 21:21:03 +08:00
Russell Bryant 7e2f8f8e92 Make nova-specs an oslosphinx project
Update the nova-specs project to use sphinx.  This will allow us to
still write our specs using rst, but also have a nice framework for
rendering and publishing the specs if we choose to.

Change-Id: Ib92231acb28bba44abafb7dd554404f542da13a7
2014-03-24 16:28:41 -04:00