@@ -45,7 +45,10 @@ Source = "https://github.com/FirebirdSQL/python3-base"
4545[tool .hatch .version ]
4646path = " src/firebird/base/__about__.py"
4747
48- [tool .hatch .build ]
48+ [tool .hatch .build .targets .sdist ]
49+ include = [" src" ]
50+
51+ [tool .hatch .build .targets .wheel ]
4952packages = [" src/firebird" ]
5053
5154[tool .hatch .envs .default ]
@@ -77,7 +80,7 @@ python = ["3.8", "3.9", "3.10", "3.11"]
7780detached = false
7881platforms = [" linux" ]
7982dependencies = [
80- " Sphinx>=7.1 " ,
83+ " Sphinx>=7.2.6 " ,
8184 " sphinx-bootstrap-theme>=0.8.1" ,
8285 " sphinx-autodoc-typehints>=1.24.0" ,
8386 " doc2dash>=3.0.0"
@@ -97,7 +100,7 @@ dependencies = [
97100 " ruff>=0.0.243" ,
98101]
99102[tool .hatch .envs .lint .scripts ]
100- typing = " mypy --install-types --non-interactive {args:src/firebird/uuid tests}"
103+ typing = " mypy --install-types --non-interactive {args:src/firebird/base tests}"
101104style = [
102105 " ruff {args:.}" ,
103106 " black --check --diff {args:.}" ,
@@ -163,7 +166,7 @@ unfixable = [
163166]
164167
165168[tool .ruff .isort ]
166- known-first-party = [" firebird.uuid " ]
169+ known-first-party = [" firebird.base " ]
167170
168171[tool .ruff .flake8-tidy-imports ]
169172ban-relative-imports = " all"
@@ -173,15 +176,15 @@ ban-relative-imports = "all"
173176"tests/**/*" = [" PLR2004" , " S101" , " TID252" ]
174177
175178[tool .coverage .run ]
176- source_pkgs = [" firebird.uuid " , " tests" ]
179+ source_pkgs = [" firebird.base " , " tests" ]
177180branch = true
178181parallel = true
179182omit = [
180- " src/firebird/uuid /__about__.py" ,
183+ " src/firebird/base /__about__.py" ,
181184]
182185
183186[tool .coverage .paths ]
184- firebird_uuid = [" src/python" , " */python/src/firebird/uuid " ]
187+ firebird_base = [" src/python" , " */python/src/firebird/base " ]
185188tests = [" tests" , " */python/tests" ]
186189
187190[tool .coverage .report ]
0 commit comments