From d56c23aa30814ad22391eff9c0a1bd697b03cdd9 Mon Sep 17 00:00:00 2001 From: Ivan Schaller Date: Wed, 22 Jun 2022 12:48:18 +0200 Subject: [PATCH] add build infos --- pyproject.toml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3c6b48a..42f2695 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + [project] version = "2.1.6" name = "manga-dlp" @@ -5,8 +9,9 @@ description = "A cli manga downloader" readme = "README.md" license = "MIT" requires-python = ">=3.8" -author = "Ivan Schaller" -author_email = "ivan@schaller.sh" +authors = [ + { name = "Ivan Schaller", email = "ivan@schaller.sh" }, +] keywords = [ "manga", "downloader", @@ -19,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11" ] dependencies = [ "requests>=2.24.0", @@ -81,4 +87,11 @@ exclude_lines = [ ] ignore_errors = true +[tool.hatch.build] +ignore-vcs = true +[tool.hatch.build.targets.sdist] +include = ["mangadlp"] +exclude = ["docker"] + +[tool.hatch.build.targets.wheel]