71ebd353ca
A new entrypoint in setup.cfg and a config file are added for using olso.policy helper script to generate the sample file. A new tox target also is added to simplify the environment setting up. Now policy sample file can be generated automatically, so the in-repo sample file is no longer needed. Co-Authored-By: Andrew Laski <andrew@lascii.com> Partial-Implements: blueprint policy-in-code Change-Id: Ic336fa154ccc05b5e9db3a8e751a484b1cc5aa9c Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
86 lines
2.8 KiB
INI
86 lines
2.8 KiB
INI
[metadata]
|
|
name = trove
|
|
summary = OpenStack DBaaS
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = https://docs.openstack.org/trove/latest/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
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 :: 3
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[files]
|
|
packages =
|
|
trove
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
trove-api = trove.cmd.api:main
|
|
trove-taskmanager = trove.cmd.taskmanager:main
|
|
trove-mgmt-taskmanager = trove.cmd.taskmanager:mgmt_main
|
|
trove-conductor = trove.cmd.conductor:main
|
|
trove-manage = trove.cmd.manage:main
|
|
trove-guestagent = trove.cmd.guest:main
|
|
trove-fake-mode = trove.cmd.fakemode:main
|
|
|
|
trove.api.extensions =
|
|
account = trove.extensions.routes.account:Account
|
|
mgmt = trove.extensions.routes.mgmt:Mgmt
|
|
mysql = trove.extensions.routes.mysql:Mysql
|
|
security_group = trove.extensions.routes.security_group:Security_group
|
|
|
|
trove.guestagent.module.drivers =
|
|
ping = trove.guestagent.module.drivers.ping_driver:PingDriver
|
|
new_relic_license = trove.guestagent.module.drivers.new_relic_license_driver:NewRelicLicenseDriver
|
|
|
|
# These are for backwards compatibility with Havana notification_driver configuration values
|
|
oslo.messaging.notify.drivers =
|
|
trove.openstack.common.notifier.log_notifier = oslo_messaging.notify._impl_log:LogDriver
|
|
trove.openstack.common.notifier.no_op_notifier = oslo_messaging.notify._impl_noop:NoOpDriver
|
|
trove.openstack.common.notifier.rpc_notifier2 = oslo_messaging.notify.messaging:MessagingV2Driver
|
|
trove.openstack.common.notifier.rpc_notifier = oslo_messaging.notify.messaging:MessagingDriver
|
|
trove.openstack.common.notifier.test_notifier = oslo_messaging.notify._impl_test:TestDriver
|
|
|
|
oslo.policy.policies =
|
|
# The sample policies will be ordered by entry point and then by list
|
|
# returned from that entry point. If more control is desired split out each
|
|
# list_rules method into a separate entry point rather than using the
|
|
# aggregate method.
|
|
trove = trove.common.policies:list_rules
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[build_sphinx]
|
|
all_files = 1
|
|
build-dir = doc/build
|
|
source-dir = doc/source
|
|
warning-is-error = 1
|
|
|
|
[compile_catalog]
|
|
directory = trove/locale
|
|
domain = trove
|
|
|
|
[update_catalog]
|
|
domain = trove
|
|
output_dir = trove/locale
|
|
input_file = trove/locale/trove.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = trove/locale/trove.pot
|
|
|
|
[wheel]
|
|
universal = 1
|