11[build-system ]
2- requires = [" setuptools>=61.2 " ]
2+ requires = [" setuptools>=77.0 " ]
33build-backend = " setuptools.build_meta"
44
55[project ]
@@ -9,10 +9,12 @@ authors = [{name = "Dana Powers", email = "dana.powers@gmail.com"}]
99description = " Pure Python client for Apache Kafka"
1010keywords = [" apache kafka" , " kafka" ]
1111readme = " README.rst"
12+ license = " Apache-2.0"
13+ license-files = [" LICENSE" ]
14+ requires-python = " >=3.8"
1215classifiers = [
1316 " Development Status :: 5 - Production/Stable" ,
1417 " Intended Audience :: Developers" ,
15- " License :: OSI Approved :: Apache Software License" ,
1618 " Programming Language :: Python" ,
1719 " Programming Language :: Python :: 3" ,
1820 " Programming Language :: Python :: 3.8" ,
@@ -26,7 +28,13 @@ classifiers = [
2628 " Programming Language :: Python :: Implementation :: PyPy" ,
2729 " Topic :: Software Development :: Libraries :: Python Modules" ,
2830]
29- urls = {Homepage = " https://github.com/dpkp/kafka-python" }
31+
32+ [project .urls ]
33+ Homepage = " https://github.com/dpkp/kafka-python"
34+ Documentation = " https://kafka-python.readthedocs.io"
35+ Repository = " https://github.com/dpkp/kafka-python"
36+ Issues = " https://github.com/dpkp/kafka-python/issues"
37+ Changelog = " https://github.com/dpkp/kafka-python/blob/master/CHANGES.md"
3038
3139[project .optional-dependencies ]
3240crc32c = [" crc32c" ]
@@ -38,7 +46,6 @@ benchmarks = ["pyperf"]
3846
3947[tool .setuptools ]
4048include-package-data = false
41- license-files = [] # workaround for https://github.com/pypa/setuptools/issues/4759
4249
4350[tool .setuptools .package-data ]
4451kafka = [" protocol/schemas/resources/*.json" , " coordinator/assignors/sticky/*.json" , " **/*.pyi" ]
@@ -47,8 +54,13 @@ kafka = ["protocol/schemas/resources/*.json", "coordinator/assignors/sticky/*.js
4754exclude = [" test" ]
4855namespaces = false
4956
57+ [tool .setuptools .dynamic ]
58+ version = {attr = " kafka.__version__" }
59+
5060[tool .pylint .main ]
5161ignore-patterns = ' .*\.pyi$'
5262
53- [tool .setuptools .dynamic ]
54- version = {attr = " kafka.__version__" }
63+ [tool .pytest .ini_options ]
64+ log_format = " %(asctime)s.%(msecs)03d %(levelname)-8s %(thread)d:%(threadName)s %(name)-23s %(message)s"
65+ log_level = " DEBUG"
66+ addopts = " --durations=10 --timeout=300 --timeout-method=thread"
0 commit comments