From 8a1063fa173058ac26bb6ec8fc0b5f357a13cec7 Mon Sep 17 00:00:00 2001 From: ByteOtter Date: Sat, 6 Jan 2024 19:01:03 +0100 Subject: [PATCH] Update build configuration --- pyproject.toml | 9 +++++++-- setup.cfg | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4ffb54d..c45e69f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,9 +11,15 @@ dynamic = [ "keywords", "license", "classifiers", - "version" + "version", + "dependencies", + "readme", + "optional-dependencies" ] +[project.scripts] +cobbler-tftp = "cobbler_tftp.cli:cli" + [tool.isort] profile = "black" @@ -58,4 +64,3 @@ showcontent = true directory = "fixed" name = "Fixed" showcontent = true - diff --git a/setup.cfg b/setup.cfg index cc24940..9b565f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,18 +40,23 @@ tests_require = pytest-mock>=3.6.1 pytest-cov>=4.1.0; python_version>"3.6" pytest-cov==3.0.0; python_version=="3.6" + lint_requires = pre-commit>=2.0.1 black>=22.1.0 pyright>=0.0.13 isort>=5.8.0 prospector>=1.7.7 + doc = Sphinx>=5.3.0 sphinx-rtd-theme>=1.2.0 towncrier>=22.12.0 + dev_requires = pip>=21.3.1 [options.packages.find] where=src +exclude = + tests* \ No newline at end of file