summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: d77dd469ceb27513ab39ca65debbfa9c64269140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[metadata]
name = oslo.policy
summary = Oslo Policy library
description-file =
    README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/oslo.policy/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.6

[files]
packages =
    oslo_policy

[pbr]
autodoc_index_modules = True
api_doc_dir = reference/api
autodoc_exclude_modules =
  oslo_policy.tests.*
  oslo_policy._*

[entry_points]
oslo.config.opts =
    oslo.policy = oslo_policy.opts:list_opts

console_scripts =
    oslopolicy-checker = oslo_policy.shell:main
    oslopolicy-sample-generator = oslo_policy.generator:generate_sample
    oslopolicy-policy-generator = oslo_policy.generator:generate_policy
    oslopolicy-list-redundant = oslo_policy.generator:list_redundant
    oslopolicy-policy-upgrade = oslo_policy.generator:upgrade_policy

oslo.policy.rule_checks =
    http = oslo_policy._external:HttpCheck
    https = oslo_policy._external:HttpsCheck

[build_sphinx]
all-files = 1
warning-is-error = 1
source-dir = doc/source
build-dir = doc/build

[upload_sphinx]
upload-dir = doc/build/html

[compile_catalog]
directory = oslo_policy/locale
domain = oslo_policy

[update_catalog]
domain = oslo_policy
output_dir = oslo_policy/locale
input_file = oslo_policy/locale/oslo_policy.pot

[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo_policy/locale/oslo_policy.pot

[wheel]
universal = true