Restore setup.cfg/py and update README

This is used by the pypi upload testing; see
Ida4ad07c82a6301107c938565656988aba3bf250 (perhaps unwisely...).
Let's just try and keep these around.

Change-Id: I7ddf37c64392b6edf647b3db4e2df132482f4c30
This commit is contained in:
Ian Wienand 2022-07-27 07:12:55 +10:00
parent 00964be878
commit d486d5aa73
3 changed files with 67 additions and 1 deletions

View File

@ -1,2 +1,13 @@
OpenDev Sandbox Project
=======================
https://docs.opendev.org/opendev/infra-manual/latest/sandbox.html
Feel free to experiment with this project to learn the Gerrit workflow
Please do not delete or modify
README.md
setup.py
setup.cfg
hello

26
setup.cfg Normal file
View File

@ -0,0 +1,26 @@
[metadata]
name = sandbox
summary = The sandbox
description-file =
README.rst
author = OpenStack Infrastructure Team
author-email = openstack-infra@lists.openstack.org
home-page = http://docs.openstack.org/infra/system-config/
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
[pbr]
warnerrors = True
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
warning-is-error = 1

29
setup.py Normal file
View File

@ -0,0 +1,29 @@
# 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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr>=2.0'],
pbr=True)