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
This commit is contained in:
melanie witt
2022-03-29 20:00:19 +00:00
parent eeb8b92a01
commit 604cc59ada
3 changed files with 1 additions and 33 deletions

View File

@@ -1,12 +0,0 @@
[metadata]
name = nova-specs
summary = OpenStack Nova Project Development Specs
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = http://specs.openstack.org/openstack/nova-specs/
classifier =
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux

View File

@@ -1,20 +0,0 @@
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0'],
pbr=True)

View File

@@ -5,7 +5,7 @@ skipsdist = True
[testenv]
basepython = python3
usedevelop = True
#usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/doc/requirements.txt
allowlist_externals =