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 94 95
|
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "tooz"
description = "Coordination library for distributed systems."
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {text = "Apache-2.0"}
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Distributed Computing",
]
[project.urls]
Homepage = "https://docs.openstack.org/tooz"
Repository = "https://opendev.org/openstack/tooz"
[project.entry-points."tooz.backends"]
"etcd" = "tooz.drivers.etcd:EtcdDriver"
"etcd3+http" = "tooz.drivers.etcd3gw:Etcd3Driver"
"etcd3+https" = "tooz.drivers.etcd3gw:Etcd3Driver"
"kazoo" = "tooz.drivers.zookeeper:KazooDriver"
"memcached" = "tooz.drivers.memcached:MemcachedDriver"
"ipc" = "tooz.drivers.ipc:IPCDriver"
"redis" = "tooz.drivers.redis:RedisDriver"
"postgresql" = "tooz.drivers.pgsql:PostgresDriver"
"mysql" = "tooz.drivers.mysql:MySQLDriver"
"file" = "tooz.drivers.file:FileDriver"
"zookeeper" = "tooz.drivers.zookeeper:KazooDriver"
"consul" = "tooz.drivers.consul:ConsulDriver"
"kubernetes" = "tooz.drivers.kubernetes:SherlockDriver"
[project.optional-dependencies]
consul = [
"python-consul2>=0.0.16", # MIT License
]
etcd = [
"requests>=2.10.0", # Apache-2.0
]
etcd3gw = [
"etcd3gw>=2.3.0", # Apache-2.0
]
redis = [
"redis>=4.0.0", # MIT
]
postgresql = [
"psycopg2>=2.5", # LGPL/ZPL
]
mysql = [
"PyMySQL>=0.6.2", # MIT License
]
zookeeper = [
"kazoo>=2.6", # Apache-2.0
]
memcached = [
"pymemcache>=1.2.9", # Apache 2.0 License
]
ipc = [
"sysv-ipc>=0.6.8", # BSD License
]
kubernetes = [
"kubernetes>=2.8.1", # Apache-2.0
"sherlock>=0.4.1", # MIT License
]
[tool.setuptools]
packages = [
"tooz"
]
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "preserve"
docstring-code-format = true
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "G", "LOG", "S", "UP"]
|