11[project ]
22name = " timvt"
33description = " A lightweight PostGIS based dynamic vector tile server."
4- readme = " README.md"
54requires-python = " >=3.8"
65license = {file = " LICENSE" }
76authors = [
8- {
name =
" Vincent Sarago" ,
email =
" [email protected] " },
7+ {
name =
" Vincent Sarago" ,
email =
" [email protected] " },
8+ {
name =
" David Bitner" ,
email =
" [email protected] " },
99]
1010keywords = [" FastAPI" , " MVT" , " POSTGIS" ]
1111classifiers = [
@@ -18,8 +18,9 @@ classifiers = [
1818 " Programming Language :: Python :: 3.11" ,
1919 " Topic :: Scientific/Engineering :: GIS" ,
2020]
21- dynamic = [" version" ]
21+ dynamic = [" version" , " readme " ]
2222dependencies = [
23+ " orjson" ,
2324 " asyncpg>=0.23.0" ,
2425 " buildpg>=0.3" ,
2526 " fastapi>=0.87" ,
@@ -31,9 +32,6 @@ dependencies = [
3132]
3233
3334[project .optional-dependencies ]
34- all = [
35- " orjson" ,
36- ]
3735test = [
3836 " pytest" ,
3937 " pytest-cov" ,
@@ -50,7 +48,7 @@ dev = [
5048 " pre-commit" ,
5149]
5250server = [
53- " uvicorn[standard]>=0.12.0,<0.16 .0" ,
51+ " uvicorn[standard]>=0.12.0,<0.19 .0" ,
5452]
5553docs = [
5654 " nbconvert" ,
@@ -62,30 +60,29 @@ docs = [
6260]
6361
6462[project .urls ]
63+ Homepage = " https://developmentseed.org/timvt/"
6564Source = " https://github.com/developmentseed/timvt"
6665Documentation = " https://developmentseed.org/timvt/"
6766
68- [build-system ]
69- requires = [" flit>=3.2,<4" ]
70- build-backend = " flit_core.buildapi"
71-
72- [tool .flit .module ]
73- name = " timvt"
67+ [tool .hatch .version ]
68+ path = " timvt/__init__.py"
7469
75- [tool .flit .sdist ]
70+ [tool .hatch . build . targets .sdist ]
7671exclude = [
77- " tests/" ,
78- " docs/" ,
79- " .github/" ,
80- " CHANGES.md" ,
81- " CONTRIBUTING.md" ,
82- " dockerfiles" ,
83- " demo" ,
84- " .env*" ,
85- " data/" ,
86- " docker-compose.yml" ,
72+ " /tests" ,
73+ " /dockerfiles" ,
74+ " /docs" ,
75+ " /demo" ,
76+ " /data" ,
77+ " docker-compose.yml" ,
78+ " CONTRIBUTING.md" ,
79+ " CHANGES.md" ,
8780]
8881
82+ [build-system ]
83+ requires = [" hatchling" ]
84+ build-backend = " hatchling.build"
85+
8986[tool .isort ]
9087profile = " black"
9188known_first_party = [" timvt" ]
0 commit comments