diff options
author | pengyuesheng <pengyuesheng@gohighsec.com> | 2019-12-25 17:37:09 +0800 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-02-03 14:45:41 +0100 |
commit | 939253044a957793b82c2c091a766e6656d573d0 (patch) | |
tree | caa5eb93bf40f722a8f2045f072460293cb1c879 /setup.cfg | |
parent | 9d1c08e1f29007dea121a70875b603fb5644d265 (diff) | |
download | pycadf-939253044a957793b82c2c091a766e6656d573d0.tar.gz |
Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Include small cleanups:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
settings for build-sphinx
* Use sphinxcontrib-apidoc for docs with newer sphinx
* Remove obsolete doc/source/conf.py broken
* Add python-requires to setup.cfg to make Python 3.6 requirement
explicit
* Remove obsolete pbr setup-hooks
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Iec8c47b82022b616b8361651bf23f853b0ce5624
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -6,6 +6,7 @@ summary = CADF Library description-file = README.rst home-page = https://docs.openstack.org/pycadf/latest/ +python-requires = >=3.6 classifier = Development Status :: 3 - Alpha Environment :: OpenStack @@ -14,8 +15,6 @@ classifier = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 @@ -32,21 +31,3 @@ data_files = etc/pycadf/trove_api_audit_map.conf etc/pycadf/ceilometer_api_audit_map.conf etc/pycadf/swift_api_audit_map.conf - -[global] -setup-hooks = - pbr.hooks.setup_hook - -[build_sphinx] -source-dir = doc/source -build-dir = doc/build -all_files = 1 -warning-is-error = 1 - -[upload_sphinx] -upload-dir = doc/build/html - -[pbr] -warnerrors = True -autodoc_tree_index_modules = True -autodoc_tree_root = ./pycadf |