@@ -60,29 +60,33 @@ Changelog = "https://exasol.github.io/python-toolbox/changelog.html"
6060tbx = " exasol.toolbox.tools.tbx:CLI"
6161sphinx-multiversion = " exasol.toolbox.sphinx.multiversion:main"
6262
63- [project .entry-points ]
63+ # unused entry point as using project.scripts instead
64+ # manually remove
65+ # [project.entry-points]
6466
6567[dependency-groups ]
6668dev = [
6769 " autoimport>=1.4.0,<2" ,
6870 " cookiecutter>=2.6.0,<3" ,
6971]
7072
71- [tool .hatch .build .targets .sdist ]
72- include = [" exasol" ]
73-
74- [tool .hatch .build .targets .sdist .force-include ]
75- "README.rst" = " README.rst"
76- "doc/changelog.rst" = " doc/changelog.rst"
77- LICENSE = " LICENSE"
78- "exasol/toolbox/templates/**/*" = " exasol/toolbox/templates/**/*"
79-
80- [tool .hatch .build .targets .wheel ]
81- include = [" exasol" ]
73+ # Needed for poetry install to run again
74+ [tool .poetry ]
75+ requires-poetry = " >=2.1.0"
76+ packages = [
77+ { include = " exasol" },
78+ ]
79+ include = [
80+ " README.rst" ,
81+ " doc/changelog.rst" ,
82+ " LICENSE" ,
83+ " exasol/toolbox/templates/**/*"
84+ ]
8285
86+ # Needed for poetry build to run again
8387[build-system ]
84- requires = [" hatchling " ]
85- build-backend = " hatchling.build "
88+ requires = [" poetry-core>=2.0.0 " ]
89+ build-backend = " poetry.core.masonry.api "
8690
8791[tool .coverage .run ]
8892relative_files = true
@@ -121,14 +125,18 @@ ignore_errors = true
121125
122126[tool .ruff .lint ]
123127extend-ignore = [
124- " E" , # Syntax errors
125- " F" , # Pyflakes rules (excluding F401)
126- " UP" , # pyupgrade rules
127- " D" , # Docstring rules
128+ " E" , # Syntax errors
129+ " F" , # Pyflakes rules (excluding F401)
130+ " UP" , # pyupgrade rules
131+ " D" , # Docstring rules
128132]
129133extend-select = [" F401" ]
130134unfixable = []
131135
136+ # manually re-add as needed for code
137+ [tool .poetry .requires-plugins ]
138+ poetry-plugin-export = " >=1.8"
139+
132140[tool .sonar ]
133141projectKey = " com.exasol:python-toolbox"
134142host.url = " https://sonarcloud.io"
0 commit comments