From fd5cef75708a0a768a8b6f68111bc4fa0c35cc9d Mon Sep 17 00:00:00 2001 From: Muhammad Labeeb Date: Mon, 7 Apr 2025 15:33:00 +0500 Subject: [PATCH] build: Add hatch_build in sdist to fix installation issues --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e8f6596..76d6741 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] dependencies = [ - "tutor>=19.0.0,<20.0.0", + "tutor>=19.0.1,<20.0.0", "quart", "aiofiles", "markdown", @@ -39,7 +39,7 @@ dynamic = ["version"] [project.optional-dependencies] dev = [ - "tutor[dev]>=19.0.0,<20.0.0", + "tutor[dev]>=19.0.1,<20.0.0", "types-aiofiles", "types-Markdown", "pylint", @@ -66,7 +66,7 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.sdist] # Disable strict naming, otherwise twine is not able to detect name/version strict-naming = false -include = [ "/tutordeck"] +include = [ "/tutordeck", ".hatch_build.py"] exclude = ["tests*"] [tool.hatch.build.targets.wheel]