diff --git a/contrib/requirements_dev.txt b/contrib/requirements_dev.txt index 4b3cefb..ab852b8 100644 --- a/contrib/requirements_dev.txt +++ b/contrib/requirements_dev.txt @@ -3,6 +3,8 @@ requests>=2.24.0 img2pdf>=0.4.4 # dev and testing requirements +hatch>=1.2.1 +hatchling>=1.4.1 pytest>=7.0.0 coverage>=6.3.1 black>=22.1.0 @@ -10,5 +12,4 @@ isort>=5.10.0 pylint>=2.13.0 mypy>=0.940 tox>=3.24.5 -hatch>=1.0.0 autoflake>=1.4 diff --git a/pyproject.toml b/pyproject.toml index f5bb10e..e9ceb38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling>=1.4.1"] build-backend = "hatchling.build" [project] @@ -43,20 +43,10 @@ manga-dlp = "mangadlp.input:main" ignore-vcs = true [tool.hatch.build.targets.sdist] -include = ["mangadlp"] -exclude = [ - "docker", - ".tox", - ".mypy_cache" -] +packages = ["mangadlp"] [tool.hatch.build.targets.wheel] -include = ["mangadlp"] -exclude = [ - "docker", - ".tox", - ".mypy_cache" -] +packages = ["mangadlp"] [tool.isort] py_version = 39