Merge "Cleanup py27 support"
This commit is contained in:
commit
436fd8ad99
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.autodoc',
|
extensions = ['sphinxcontrib.apidoc',
|
||||||
'sphinx.ext.viewcode',
|
'sphinx.ext.viewcode',
|
||||||
'sphinxcontrib.rsvgconverter',
|
'sphinxcontrib.rsvgconverter',
|
||||||
'oslo_policy.sphinxext',
|
'oslo_policy.sphinxext',
|
||||||
@ -120,3 +120,13 @@ latex_documents = [
|
|||||||
# -- Options for seqdiag ------------------------------------------------------
|
# -- Options for seqdiag ------------------------------------------------------
|
||||||
|
|
||||||
seqdiag_html_image_format = "SVG"
|
seqdiag_html_image_format = "SVG"
|
||||||
|
|
||||||
|
# -- sphinxcontrib.apidoc configuration --------------------------------------
|
||||||
|
|
||||||
|
apidoc_module_dir = '../../ironic_inspector'
|
||||||
|
apidoc_output_dir = 'contributor/api'
|
||||||
|
apidoc_excluded_paths = [
|
||||||
|
'migrations',
|
||||||
|
'test',
|
||||||
|
'common/i18n*'
|
||||||
|
]
|
||||||
|
@ -8,7 +8,7 @@ Python API
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
||||||
api/autoindex
|
api/modules
|
||||||
|
|
||||||
Ironic Inspector CI
|
Ironic Inspector CI
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -18,7 +18,7 @@ keystoneauth1==3.14.0
|
|||||||
keystonemiddleware==4.18.0
|
keystonemiddleware==4.18.0
|
||||||
mock==3.0.0
|
mock==3.0.0
|
||||||
netaddr==0.7.18
|
netaddr==0.7.18
|
||||||
openstackdocstheme==1.20.0
|
openstackdocstheme==1.31.2
|
||||||
openstacksdk==0.40.0
|
openstacksdk==0.40.0
|
||||||
os-api-ref==1.4.0
|
os-api-ref==1.4.0
|
||||||
oslo.concurrency==3.26.0
|
oslo.concurrency==3.26.0
|
||||||
@ -41,6 +41,7 @@ pytz==2013.6
|
|||||||
reno==2.5.0
|
reno==2.5.0
|
||||||
retrying==1.2.3
|
retrying==1.2.3
|
||||||
sphinx==1.6.2
|
sphinx==1.6.2
|
||||||
|
sphinxcontrib-apidoc==0.2.0
|
||||||
sphinxcontrib-svg2pdfconverter==0.1.0
|
sphinxcontrib-svg2pdfconverter==0.1.0
|
||||||
SQLAlchemy==1.0.10
|
SQLAlchemy==1.0.10
|
||||||
stestr==1.0.0
|
stestr==1.0.0
|
||||||
|
17
setup.cfg
17
setup.cfg
@ -6,6 +6,7 @@ author = OpenStack
|
|||||||
author-email = openstack-discuss@lists.openstack.org
|
author-email = openstack-discuss@lists.openstack.org
|
||||||
home-page = https://docs.openstack.org/ironic-inspector/latest/
|
home-page = https://docs.openstack.org/ironic-inspector/latest/
|
||||||
license = Apache-2
|
license = Apache-2
|
||||||
|
python-requires = >=3.6
|
||||||
classifier =
|
classifier =
|
||||||
Environment :: Console
|
Environment :: Console
|
||||||
Environment :: OpenStack
|
Environment :: OpenStack
|
||||||
@ -14,6 +15,8 @@ classifier =
|
|||||||
License :: OSI Approved :: Apache Software License
|
License :: OSI Approved :: Apache Software License
|
||||||
Operating System :: OS Independent
|
Operating System :: OS Independent
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: Implementation :: CPython
|
||||||
|
Programming Language :: Python :: 3 :: Only
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
Programming Language :: Python :: 3.6
|
Programming Language :: Python :: 3.6
|
||||||
Programming Language :: Python :: 3.7
|
Programming Language :: Python :: 3.7
|
||||||
@ -96,17 +99,3 @@ input_file = ironic_inspector/locale/ironic_inspector.pot
|
|||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
output_file = ironic_inspector/locale/ironic_inspector.pot
|
output_file = ironic_inspector/locale/ironic_inspector.pot
|
||||||
|
|
||||||
[build_sphinx]
|
|
||||||
all_files = 1
|
|
||||||
build-dir = doc/build
|
|
||||||
source-dir = doc/source
|
|
||||||
warning-is-error = 1
|
|
||||||
|
|
||||||
[pbr]
|
|
||||||
autodoc_index_modules = True
|
|
||||||
autodoc_exclude_modules =
|
|
||||||
ironic_inspector.migrations.*
|
|
||||||
ironic_inspector.test.*
|
|
||||||
ironic.common.i18n
|
|
||||||
api_doc_dir = contributor/api
|
|
||||||
|
9
setup.py
9
setup.py
@ -13,17 +13,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
|
||||||
import setuptools
|
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(
|
setuptools.setup(
|
||||||
setup_requires=['pbr>=2.0.0'],
|
setup_requires=['pbr>=2.0.0'],
|
||||||
pbr=True)
|
pbr=True)
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
# The order of packages is significant, because pip processes them in the order
|
# The order of packages is significant, because pip processes them in the order
|
||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
Babel!=2.4.0,>=2.3.4 # BSD
|
|
||||||
bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0
|
bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0
|
||||||
coverage!=4.4,>=4.0 # Apache-2.0
|
coverage!=4.4,>=4.0 # Apache-2.0
|
||||||
doc8>=0.6.0 # Apache-2.0
|
doc8>=0.6.0 # Apache-2.0
|
||||||
flake8-import-order>=0.13 # LGPLv3
|
flake8-import-order>=0.13 # LGPLv3
|
||||||
hacking>=3.0.0,<3.1.0 # Apache-2.0
|
hacking>=3.0.0,<3.1.0 # Apache-2.0
|
||||||
sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
|
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
|
||||||
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
|
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
|
||||||
openstackdocstheme>=1.20.0 # Apache-2.0
|
sphinxcontrib-apidoc>=0.2.0 # BSD
|
||||||
|
openstackdocstheme>=1.31.2 # Apache-2.0
|
||||||
os-api-ref>=1.4.0 # Apache-2.0
|
os-api-ref>=1.4.0 # Apache-2.0
|
||||||
pymemcache!=1.3.0,>=1.2.9 # Apache 2.0 License
|
pymemcache!=1.3.0,>=1.2.9 # Apache 2.0 License
|
||||||
stestr>=1.0.0 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
|
2
tox.ini
2
tox.ini
@ -83,7 +83,7 @@ setenv = PYTHONHASHSEED=0
|
|||||||
sitepackages = False
|
sitepackages = False
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
python setup.py build_sphinx
|
sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
whitelist_externals = make
|
whitelist_externals = make
|
||||||
|
Loading…
Reference in New Issue
Block a user