diff --git a/.releaserc.json b/.releaserc.json index 57d30e1..6079259 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -45,7 +45,12 @@ "gradle-semantic-release-plugin", "@semantic-release/github", "@semantic-release/npm", - "semantic-release-pypi" + [ + "semantic-release-pypi", + { + "srcDir": "python" + } + ] ], "includeSymbols": true, "includeSource": true, diff --git a/pyproject.toml b/python/pyproject.toml similarity index 78% rename from pyproject.toml rename to python/pyproject.toml index 2e9e2a2..f90c2c4 100644 --- a/pyproject.toml +++ b/python/pyproject.toml @@ -29,15 +29,3 @@ dependencies = [ Documentation = "https://github.com/open-meteo/sdk/tree/main#readme" Source = "https://github.com/open-meteo/sdk" Tracker = "https://github.com/open-meteo/sdk/issues" - -[tool.flit.module] -name = "openmeteo_sdk" - -[tool.hatch.version] -path = "python/openmeteo_sdk/__init__.py" - -[tool.hatch.build.targets.sdist] -packages = ["python/openmeteo_sdk"] - -[tool.hatch.build.targets.wheel] -packages = ["python/openmeteo_sdk"]