change to hatch - setup tools was missing files for the package install

This commit is contained in:
Jarod Mica 2025-05-23 01:07:53 -07:00
parent 93d8eb8d35
commit a27773d93d

View File

@ -1,6 +1,6 @@
[build-system] [build-system]
requires = ["setuptools >= 61.0", "setuptools-scm>=8.0"] requires = ["hatchling>=1.13.4", "hatch-vcs>=0.4.0"]
build-backend = "setuptools.build_meta" build-backend = "hatchling.build"
[project] [project]
name = "GPT_SoVITS" name = "GPT_SoVITS"
@ -60,5 +60,8 @@ Homepage = "https://github.com/JarodMica/GPT-SoVITS/tree/main"
[project.scripts] [project.scripts]
"gpt_sovits_api" = "GPT_SoVITS.api_v2:main" "gpt_sovits_api" = "GPT_SoVITS.api_v2:main"
[tool.setuptools.packages.find] [tool.hatch.build.targets.wheel]
include = ["GPT_SoVITS"] packages = ["GPT_SoVITS"]
[tool.hatch.version]
source = "vcs"