horizon/setup.cfg
Akihiro Motoki 4ef9ba94c0 Avoid duplicated maintenance of integration test config
Configurations of the integration tests are maintained both
in horizon.conf and in-code configuration. It is redundant.

Configurations of the integration tests are defined by oslo.config.
We can use default values from them and generate a sample config file
using oslo-config-generator.

This commit drops horizon.conf and generates the sample config.
We no longer have horizon.conf, so the logic to load the config files
is updated accordingly.

Also makes the usage of single and double quotes in config.py consistent.

Change-Id: Id16c9fd4114316ade63c74097e486623d0c5be9f
2020-01-10 00:55:43 +09:00

63 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/
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
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
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