diff --git a/pyproject.toml b/pyproject.toml index cd1b8d8..1679006 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [build-system] requires = ["setuptools>=72", "wheel", "setuptools_scm[toml]>=8"] +build-backend = "setuptools.build_meta" [project] name = "etos_suite_starter" @@ -14,7 +15,6 @@ classifiers = [ "License :: OSI Approved :: Apache Software License" ] requires-python = ">=3.9" - dependencies = [ "etos_lib==4.3.1", "opentelemetry-api~=1.21", @@ -22,27 +22,14 @@ dependencies = [ "opentelemetry-sdk~=1.21" ] -[options] -zip_safe = false -include_package_data = true - -[options.packages.find] -where = "src" -exclude = ["tests"] - [project.urls] Documentation = "https://etos.readthedocs.io/" Homepage = "https://github.com/eiffel-community/etos-suite-starter" Repository = "https://github.com/eiffel-community/etos-suite-starter" -[project.scripts] - [project.optional-dependencies] testing = ["pytest", "pytest-cov"] -[test] -extras = true - [tool.build_sphinx] source_dir = "docs" build_dir = "build/sphinx" @@ -58,3 +45,6 @@ exclude = [".tox", "build", "dist", ".eggs", "docs/conf.py"] addopts = "--cov etos_suite_starter --cov-report term-missing --verbose" norecursedirs = ["dist", "build", ".tox"] testpaths = ["tests"] + +[tool.setuptools.packages] +find = { where = ["src"], exclude = ["tests"] } \ No newline at end of file diff --git a/tox.ini b/tox.ini index f72b48a..98ae8e1 100644 --- a/tox.ini +++ b/tox.ini @@ -28,5 +28,6 @@ commands = [testenv:pydocstyle] deps = pydocstyle + tomli commands = pydocstyle .