11[project ]
22name = " dlt-source-affinity"
3- readme = " README.md"
3+ readme = { file = " README.md" , content-type = " text/markdown " }
44requires-python = " >=3.12"
55dependencies = [
66 " dlt>=1.17.1" ,
77 " pydantic-flatten-rootmodel>=0.1.2" ,
88]
9- dynamic = [" authors" , " classifiers" , " version" , " description" ]
9+ dynamic = [" version" ]
10+ author =" Planet A GmbH"
11+ 12+ description =" A DLT source for the Affinity CRM"
13+ license = { text = " MIT" }
14+ classifiers =[
15+ " Programming Language :: Python :: 3" ,
16+ " Programming Language :: Python :: 3.12" ,
17+ " License :: OSI Approved :: MIT License" ,
18+ " Operating System :: OS Independent" ,
19+ " Intended Audience :: Developers" ,
20+ " Topic :: Software Development :: Libraries" ,
21+ ]
1022
1123[project .optional-dependencies ]
1224show = [
1325 " dlt[duckdb]>=1.17.1" ,
26+ " dlt[workspace]>=1.17.1" ,
1427 " streamlit>=1.41.1" ,
1528 " watchdog>=6.0.0" ,
1629]
1730
1831[dependency-groups ]
1932dev = [
2033 " datamodel-code-generator>=0.26.4" ,
21- " dlt[workspace]>=1.17.1" ,
2234 " pytest>=8.3.4" ,
2335]
2436
2537[tool .ruff ]
2638lint.extend-select = [" I" ]
2739# unsafe-fixes = true
40+
41+ [build-system ]
42+ requires = [" hatchling" , " uv-dynamic-versioning" ]
43+ build-backend = " hatchling.build"
44+
45+ [tool .uv-dynamic-versioning ]
46+ vcs = " git"
47+ style = " semver"
48+ bump = true
49+ # TODO: enable strict mode once we have a tag
50+ # strict = true
51+ # latest-tag = true
52+
53+ [tool .hatch .build ]
54+ include = [
55+ " dlt_source_affinity"
56+ ]
57+ exclude = [
58+ " dlt_source_affinity/tests" ,
59+ " dlt_source_affinity/model/generate_model.sh" ,
60+ " dlt_source_affinity/model/current_python_major_minor.py" ,
61+ " dlt_source_affinity/model/v2_spec_patches.diff" ,
62+ " dlt_source_affinity/model/v2_model_patches.diff" ,
63+ " dlt_source_affinity/model/v2_spec.json" ,
64+ " dlt_source_affinity/model/README.md" ,
65+ ]
66+
67+ [tool .hatch .version ]
68+ source = " uv-dynamic-versioning"
0 commit comments