summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: d28bd6309f1b642ca15f38a3d9bd9e13eb43048e (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[metadata]
name = oslo.db
summary = Oslo Database library
description-file =
    README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://wiki.openstack.org/wiki/Oslo#oslo.db
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.4

[extras]
# So e.g. nova can test-depend on oslo.db[mysql]
mysql =
  PyMySQL>=0.6.2 # MIT License
# or oslo.db[mysql-c]
mysql-c =
  MySQL-python:python_version=='2.7'
# or oslo.db[postgresql]
postgresql =
  psycopg2>=2.5
# Dependencies for testing oslo.db itself.
test =
  hacking<0.11,>=0.10.0
  coverage>=3.6
  discover
  doc8 # Apache-2.0
  eventlet>=0.17.4
  fixtures>=1.3.1
  mock>=1.2
  python-subunit>=0.0.18
  sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
  oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
  oslotest>=1.10.0 # Apache-2.0
  testrepository>=0.0.18
  testtools>=1.4.0
  tempest-lib>=0.11.0
fixtures =
  testresources>=0.2.4
  testscenarios>=0.4

[files]
packages =
    oslo_db

[entry_points]
oslo.config.opts =
    oslo.db = oslo_db.options:list_opts
    oslo.db.concurrency = oslo_db.concurrency:list_opts

oslo.db.migration =
    alembic = oslo_db.sqlalchemy.migration_cli.ext_alembic:AlembicExtension
    migrate = oslo_db.sqlalchemy.migration_cli.ext_migrate:MigrateExtension

[wheel]
universal = 1

[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1

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

[compile_catalog]
directory = oslo.db/locale
domain = oslo.db

[update_catalog]
domain = oslo.db
output_dir = oslo.db/locale
input_file = oslo.db/locale/oslo.db.pot

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

[pbr]
warnerrors = True
autodoc_index_modules = True
autodoc_exclude_modules =
   oslo_db.tests.*