|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=64", "setuptools_scm>=8"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "etcd3" |
| 7 | +description = "Python client for the etcd3 API" |
| 8 | +dynamic = ["version"] |
| 9 | +requires-python = ">=3.7" |
| 10 | +readme = "README.rst" |
| 11 | +license = {file = "LICENSE"} |
| 12 | +authors = [ |
| 13 | + {email = "Louis Taylor <louis@kragniz.eu>"}, |
| 14 | + {email = "Ledger SAS <team-embedded-software+enclave@ledger.fr>"}, |
| 15 | +] |
| 16 | +dependencies = [ |
| 17 | + "grpcio==1.66.2", |
| 18 | + "protobuf>=5.27.1,<6", |
| 19 | + "six==1.16.0", |
| 20 | +] |
| 21 | +classifiers = [ |
| 22 | + "Development Status :: 2 - Pre-Alpha", |
| 23 | + "Intended Audience :: Developers", |
| 24 | + "License :: OSI Approved :: Apache Software License", |
| 25 | + "Natural Language :: English", |
| 26 | + "Programming Language :: Python :: 3", |
| 27 | + "Programming Language :: Python :: 3 :: Only", |
| 28 | + "Programming Language :: Python :: 3.6", |
| 29 | + "Programming Language :: Python :: 3.7", |
| 30 | + "Programming Language :: Python :: 3.8", |
| 31 | + "Programming Language :: Python :: 3.9", |
| 32 | + "Programming Language :: Python :: 3.10", |
| 33 | + "Programming Language :: Python :: 3.11", |
| 34 | + "Programming Language :: Python :: 3.12", |
| 35 | + "Programming Language :: Python :: 3.13", |
| 36 | + "Operating System :: OS Independent", |
| 37 | +] |
| 38 | + |
| 39 | +[project.optional-dependencies] |
| 40 | +tests = [ |
| 41 | + "pifpaf", |
| 42 | + "PyYAML>=5.1", |
| 43 | + "bumpversion>=0.5.3", |
| 44 | + "coverage", |
| 45 | + "flake8-import-order", |
| 46 | + "flake8", |
| 47 | + "grpcio-tools>=1.66.2", |
| 48 | + "hypothesis", |
| 49 | + "pytest>=4.6.5", |
| 50 | + "pytest-cov", |
| 51 | + "flake8-docstrings>=1.3.0", |
| 52 | + "mock>=2.0.0", |
| 53 | + "tenacity>=5.0.2", |
| 54 | +] |
| 55 | +protoc = [ |
| 56 | + "grpcio-tools", |
| 57 | +] |
| 58 | +doc = [ |
| 59 | + "Sphinx>=1.8.2", |
| 60 | +] |
| 61 | + |
| 62 | +[tool.isort] |
| 63 | +profile = "black" |
| 64 | + |
| 65 | +[tool.mypy] |
| 66 | +python_version = "3.10" |
| 67 | +show_error_codes = true |
| 68 | +check_untyped_defs = true |
| 69 | +no_implicit_reexport = true |
| 70 | +warn_redundant_casts = true |
| 71 | +warn_unused_ignores = true |
| 72 | +follow_untyped_imports = true |
| 73 | + |
| 74 | +[tool.bandit.assert_used] |
| 75 | +skips = ["tests/*.py"] |
| 76 | + |
| 77 | +[tool.pydocstyle] |
| 78 | +convention = "pep257" |
| 79 | + |
| 80 | +[tool.setuptools_scm] |
| 81 | + |
| 82 | +[tool.pytest.ini_options] |
| 83 | +asyncio_default_fixture_loop_scope = "function" |
0 commit comments