Skip to content

Commit 6d44603

Browse files
committed
Add pyproject.toml
1 parent 0998b1e commit 6d44603

File tree

2 files changed

+107
-6
lines changed

2 files changed

+107
-6
lines changed

pyproject.toml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel", "pbr"]
3+
build-backend = "pbr.build"
4+
5+
[project]
6+
name = "oslo.messaging"
7+
version = "4.3.0+edy1"
8+
authors = [
9+
{name = "OpenStack", email = "openstack-dev@lists.openstack.org"}
10+
]
11+
description = "Oslo Messaging API"
12+
readme = "README.rst"
13+
classifiers = [
14+
"Development Status :: 4 - Beta",
15+
"Environment :: OpenStack",
16+
"Intended Audience :: Developers",
17+
"Intended Audience :: Information Technology",
18+
"License :: OSI Approved :: Apache Software License",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3.6",
23+
"Programming Language :: Python :: 3.7",
24+
"Programming Language :: Python :: 3.8",
25+
"Programming Language :: Python :: 3.9",
26+
"Programming Language :: Python :: 3.10",
27+
"Programming Language :: Python :: 3.11",
28+
"Programming Language :: Python :: 3.12",
29+
]
30+
requires-python = ">=3.6"
31+
32+
dependencies = [
33+
"pbr>=1.6",
34+
"futurist>=0.11.0",
35+
"oslo.config>=3.4.0",
36+
"oslo.context>=0.2.0",
37+
"oslo.log>=1.14.0",
38+
"oslo.utils>=3.4.0",
39+
"oslo.serialization>=1.10.0",
40+
"oslo.service>=1.0.0",
41+
"oslo.i18n>=2.1.0",
42+
"stevedore>=1.5.0",
43+
"debtcollector>=1.2.0",
44+
"six>=1.9.0",
45+
"cachetools>=1.0.0",
46+
"eventlet>=0.18.2",
47+
"greenlet>=0.3.2",
48+
"WebOb>=1.2.3",
49+
"PyYAML>=3.1.0",
50+
"amqp>=1.4.0",
51+
"kombu>=3.0.25",
52+
"pika>=0.10.0",
53+
"pika-pool>=0.1.3",
54+
"retrying!=1.3.0,>=1.2.3",
55+
"oslo.middleware>=3.0.0",
56+
"aioeventlet>=0.4",
57+
"trollius>=1.0",
58+
]
59+
60+
optional-dependencies = {}
61+
62+
[project.entry-points."oslo.messaging.drivers"]
63+
rabbit = "oslo_messaging._drivers.impl_rabbit:RabbitDriver"
64+
zmq = "oslo_messaging._drivers.impl_zmq:ZmqDriver"
65+
amqp = "oslo_messaging._drivers.protocols.amqp.driver:ProtonDriver"
66+
kafka = "oslo_messaging._drivers.impl_kafka:KafkaDriver"
67+
kombu = "oslo_messaging._drivers.impl_rabbit:RabbitDriver"
68+
fake = "oslo_messaging._drivers.impl_fake:FakeDriver"
69+
pika = "oslo_messaging._drivers.impl_pika:PikaDriver"
70+
71+
[project.entry-points."oslo.messaging.executors"]
72+
aioeventlet = "oslo_messaging._executors.impl_aioeventlet:AsyncioEventletExecutor"
73+
blocking = "oslo_messaging._executors.impl_blocking:BlockingExecutor"
74+
eventlet = "oslo_messaging._executors.impl_eventlet:EventletExecutor"
75+
threading = "oslo_messaging._executors.impl_thread:ThreadExecutor"
76+
77+
[project.entry-points."oslo.messaging.notify.drivers"]
78+
messagingv2 = "oslo_messaging.notify.messaging:MessagingV2Driver"
79+
messaging = "oslo_messaging.notify.messaging:MessagingDriver"
80+
log = "oslo_messaging.notify._impl_log:LogDriver"
81+
test = "oslo_messaging.notify._impl_test:TestDriver"
82+
noop = "oslo_messaging.notify._impl_noop:NoOpDriver"
83+
routing = "oslo_messaging.notify._impl_routing:RoutingDriver"
84+
85+
[project.entry-points."oslo.messaging.zmq.matchmaker"]
86+
dummy = "oslo_messaging._drivers.zmq_driver.matchmaker.base:DummyMatchMaker"
87+
redis = "oslo_messaging._drivers.zmq_driver.matchmaker.matchmaker_redis:RedisMatchMaker"
88+
89+
[project.entry-points."oslo.config.opts"]
90+
"oslo.messaging" = "oslo_messaging.opts:list_opts"

setup.cfg

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[metadata]
22
name = oslo.messaging
33
author = OpenStack
4-
author-email = openstack-dev@lists.openstack.org
4+
author_email = openstack-dev@lists.openstack.org
55
summary = Oslo Messaging API
6-
description-file =
6+
description_file =
77
README.rst
8-
home-page = https://wiki.openstack.org/wiki/Oslo#oslo.messaging
8+
home_page = https://wiki.openstack.org/wiki/Oslo#oslo.messaging
99
classifier =
1010
Development Status :: 4 - Beta
1111
Environment :: OpenStack
@@ -14,7 +14,15 @@ classifier =
1414
License :: OSI Approved :: Apache Software License
1515
Operating System :: OS Independent
1616
Programming Language :: Python
17-
Programming Language :: Python :: 2.7
17+
Programming Language :: Python :: 3
18+
Programming Language :: Python :: 3.6
19+
Programming Language :: Python :: 3.7
20+
Programming Language :: Python :: 3.8
21+
Programming Language :: Python :: 3.9
22+
Programming Language :: Python :: 3.10
23+
Programming Language :: Python :: 3.11
24+
Programming Language :: Python :: 3.12
25+
1826

1927
[files]
2028
packages =
@@ -62,8 +70,8 @@ oslo.config.opts =
6270
oslo.messaging = oslo_messaging.opts:list_opts
6371

6472
[build_sphinx]
65-
source-dir = doc/source
66-
build-dir = doc/build
73+
source_dir = doc/source
74+
build_dir = doc/build
6775
all_files = 1
6876

6977
[upload_sphinx]
@@ -85,3 +93,6 @@ output_file = oslo_messaging/locale/oslo_messaging.pot
8593

8694
[pbr]
8795
warnerrors = true
96+
97+
[options]
98+
python_requires = >=3.6

0 commit comments

Comments
 (0)