1+ [build-system ]
2+ requires = [" hatchling" ]
3+ build-backend = " hatchling.build"
4+
5+ [project ]
6+ name = " zyte-api"
7+ dynamic = [" version" ]
8+ description = " Python interface to Zyte API"
9+ readme = { file = " README.rst" , content-type = " text/x-rst" }
10+ authors = [
11+ { name = " Zyte Group Ltd" , email = " opensource@zyte.com" },
12+ ]
13+ license = { file = " LICENSE" }
14+ requires-python = " >=3.10"
15+ dependencies = [
16+ " aiohttp>=3.8.0" ,
17+ " attrs>=20.1.0" ,
18+ " brotli>=0.5.2" ,
19+ " runstats>=0.0.1" ,
20+ " tenacity>=8.2.0" ,
21+ " tqdm>=4.16.0" ,
22+ " w3lib>=2.1.1" ,
23+ ]
24+ classifiers = [
25+ " Development Status :: 3 - Alpha" ,
26+ " Intended Audience :: Developers" ,
27+ " License :: OSI Approved :: BSD License" ,
28+ " Natural Language :: English" ,
29+ " Operating System :: OS Independent" ,
30+ " Programming Language :: Python :: 3" ,
31+ " Programming Language :: Python :: 3.10" ,
32+ " Programming Language :: Python :: 3.11" ,
33+ " Programming Language :: Python :: 3.12" ,
34+ " Programming Language :: Python :: 3.13" ,
35+ ]
36+
37+ [project .optional-dependencies ]
38+ x402 = [
39+ " eth-account>=0.13.7" ,
40+ " x402>=0.1.1,<2.0.0" ,
41+ ]
42+
43+ [project .scripts ]
44+ zyte-api = " zyte_api.__main__:_main"
45+
46+ [project .urls ]
47+ Homepage = " https://github.com/zytedata/python-zyte-api"
48+ Documentation = " https://python-zyte-api.readthedocs.io/en/stable/"
49+
50+ [tool .hatch .build .targets .sdist ]
51+ include = [
52+ " /docs" ,
53+ " /tests" ,
54+ " /zyte_api" ,
55+ " /.pre-commit-config.yaml" ,
56+ " /CHANGES.rst" ,
57+ " /tox.ini" ,
58+ ]
59+
60+ [tool .hatch .version ]
61+ path = " zyte_api/__version__.py"
62+
63+ [tool .hatch .build .targets .wheel ]
64+ packages = [" zyte_api" ]
65+
166[tool .bumpversion ]
267current_version = " 0.9.0"
368commit = true
@@ -13,9 +78,6 @@ regex = true
1378[[tool .bumpversion .files ]]
1479filename = " docs/conf.py"
1580
16- [[tool .bumpversion .files ]]
17- filename = " setup.py"
18-
1981[[tool .bumpversion .files ]]
2082filename = " zyte_api/__version__.py"
2183
@@ -188,3 +250,6 @@ split-on-trailing-comma = false
188250
189251[tool .ruff .lint .pydocstyle ]
190252convention = " pep257"
253+
254+ [tool .sphinx-scrapy ]
255+ python-version = " 3.13" # In sync with test.yml
0 commit comments