ee80782504
Python runtimes for Zed are 3.8, 3.9 and optionally 3.10 [1][2],
so tox envs in tox.ini are updated accordingly.
Declare python_requires >=3.8 in setup.cfg
python_requires are declared in many projects during dropping
python 2.7 support. It is good to follow the convention and
it also clarifies our python interpreter requirement.
This commit also cleans up python2.7 related stuffs in setup.py.
Both are related to the supported versions of python,
so I made both changes in a single commit.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
[2] b740b42fb1/zuul.d/project-templates.yaml (L542)
Change-Id: I4161816fd1fec19a3834cc7d994b3f761e1ab2ce
Closes-Bug: #1960887
65 lines
1.8 KiB
INI
65 lines
1.8 KiB
INI
[metadata]
|
|
name = horizon
|
|
summary = OpenStack Dashboard
|
|
description_file =
|
|
README.rst
|
|
author = OpenStack
|
|
author_email = openstack-discuss@lists.openstack.org
|
|
home_page = https://docs.openstack.org/horizon/latest/
|
|
python_requires = >=3.8
|
|
classifier =
|
|
Development Status :: 5 - Production/Stable
|
|
Environment :: OpenStack
|
|
Framework :: Django
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 3 :: Only
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.8
|
|
Programming Language :: Python :: 3.9
|
|
Topic :: Internet :: WWW/HTTP
|
|
|
|
[global]
|
|
setup-hooks =
|
|
openstack_dashboard.hooks.setup_hook
|
|
|
|
[files]
|
|
packages =
|
|
horizon
|
|
openstack_dashboard
|
|
openstack_auth
|
|
|
|
[coverage:report]
|
|
ignore_errors = True
|
|
include =
|
|
horizon/*
|
|
openstack_dashboard/*
|
|
openstack_auth/*
|
|
omit =
|
|
/usr*
|
|
setup.py
|
|
*egg*
|
|
.venv/*
|
|
|
|
[coverage:html]
|
|
directory = reports
|
|
|
|
[extract_messages]
|
|
keywords = gettext_noop gettext_lazy ngettext_lazy:1,2 ugettext_noop ugettext_lazy ungettext_lazy:1,2 npgettext:1c,2,3 pgettext_lazy:1c,2 npgettext_lazy:1c,2,3
|
|
add_comments = Translators:
|
|
|
|
[entry_points]
|
|
oslo.config.opts =
|
|
openstack_dashboard = openstack_dashboard.utils.config:list_options
|
|
openstack_dashboard_integration_tests = openstack_dashboard.test.integration_tests.config:list_opts
|
|
# We use a custom extractor to find translatable strings in AngularJS templates.
|
|
# See http://babel.pocoo.org/docs/messages/#referencing-extraction-methods for
|
|
# details on how this works.
|
|
babel.extractors =
|
|
angular = horizon.utils.babel_extract_angular:extract_angular
|