11[build-system ]
2- requires = [" poetry-core>=2.0.0,<3.0.0 " ]
3- build-backend = " poetry.core.masonry.api "
2+ requires = [" hatchling " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " antfly-sdk"
@@ -24,35 +24,31 @@ classifiers = [
2424 " Programming Language :: Python :: 3.12" ,
2525 " Programming Language :: Python :: 3.13" ,
2626]
27+ dependencies = [
28+ " httpx>=0.23.0,<0.29.0" ,
29+ " attrs>=22.2.0" ,
30+ " python-dateutil>=2.8.0,<3.0.0" ,
31+ ]
2732
2833[project .urls ]
2934Homepage = " https://github.com/antflydb/antfly-py"
3035Documentation = " https://antfly-sdk-python.readthedocs.io"
3136Repository = " https://github.com/antflydb/antfly-py"
3237Issues = " https://github.com/antflydb/antfly-py/issues"
3338
34- [tool .poetry ]
35- packages = [
36- { include = " antfly" , from = " ./src" },
39+ [dependency-groups ]
40+ dev = [
41+ " pytest>=8.4.2" ,
42+ " pytest-cov>=7.0.0" ,
43+ " pytest-asyncio>=1.2.0" ,
44+ " requests>=2.32.5" ,
45+ " ruff>=0.13.0" ,
46+ " openapi-python-client>=0.26.1" ,
47+ " pyright>=1.1.405" ,
3748]
3849
39- [tool .poetry .dependencies ]
40- python = " >=3.9,<4.0"
41- httpx = " >=0.23.0,<0.29.0"
42- attrs = " >=22.2.0"
43- python-dateutil = " >=2.8.0,<3.0.0"
44-
45- [tool .poetry .group .dev .dependencies ]
46- pytest = " ^8.4.2"
47- pytest-cov = " ^7.0.0"
48- pytest-asyncio = " ^1.2.0"
49- requests =" ^2.32.5"
50- ruff = " ^0.13.0"
51- openapi-python-client = " ^0.26.1"
52- pyright = " ^1.1.405"
53- build = " ^1.3.0"
54- # sphinx = ">=8.2.3"
55- # sphinx-rtd-theme = ">=1.0.0"
50+ [tool .hatch .build .targets .wheel ]
51+ packages = [" src/antfly" ]
5652
5753[tool .ruff ]
5854line-length = 120
0 commit comments