diff --git a/pyproject.toml b/pyproject.toml index cd500100..95b94354 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools >= 61.0", "setuptools-scm>=8.0"] -build-backend = "setuptools.build_meta" +requires = ["hatchling>=1.13.4", "hatch-vcs>=0.4.0"] +build-backend = "hatchling.build" [project] name = "GPT_SoVITS" @@ -60,5 +60,8 @@ Homepage = "https://github.com/JarodMica/GPT-SoVITS/tree/main" [project.scripts] "gpt_sovits_api" = "GPT_SoVITS.api_v2:main" -[tool.setuptools.packages.find] -include = ["GPT_SoVITS"] \ No newline at end of file +[tool.hatch.build.targets.wheel] +packages = ["GPT_SoVITS"] + +[tool.hatch.version] +source = "vcs" \ No newline at end of file