File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
packages/localstack-sdk-generated Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- version=$( cat VERSION )
3+ version=$( uvx --from setuptools-scm python -m setuptools_scm )
44
55docker run --rm -v " ${PWD} :/local" openapitools/openapi-generator-cli:v7.10.0 generate \
66 -i https://raw.githubusercontent.com/localstack/openapi/refs/heads/main/openapi/emulators/localstack-spec-latest.yml \
Original file line number Diff line number Diff line change 11[project ]
22name = " localstack-sdk-generated"
3- version = " 0.0.4 "
3+ version = " 0.1.dev9 "
44description = " LocalStack REST API - Generated Code"
55authors = [
66 { name = " LocalStack Contributors" , email = " info@localstack.cloud" }
@@ -27,4 +27,4 @@ package-dir = { "" = "."}
2727[tool .setuptools .packages .find ]
2828where = [" ." ]
2929include = [" *" ]
30- exclude = [" tests*" ]
30+ exclude = [" tests*" ]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description = "Python SDK for LocalStack"
55authors = [
66 { name = " LocalStack Team" , email = " info@localstack.cloud" }
77]
8- version = " 0.0.4 "
8+ dynamic = [ " version " ]
99dependencies = [
1010 " localstack-sdk-generated"
1111]
@@ -17,9 +17,12 @@ Repository = "https://github.com/localstack/localstack-sdk-python.git"
1717Issues = " https://github.com/localstack/localstack-sdk-python/issues"
1818
1919[build-system ]
20- requires = [" setuptools>=64" ]
20+ requires = [" setuptools>=64" , " setuptools_scm>=8 " ]
2121build-backend = " setuptools.build_meta"
2222
23+ [tool .setuptools_scm ]
24+ local_scheme = " no-local-version"
25+
2326[tool .setuptools .dynamic ]
2427readme = { file = [" README.md" ], content-type = " text/markdown" }
2528
@@ -29,6 +32,7 @@ dev-dependencies=[
2932 " ruff>=0.6.9" ,
3033 " boto3>=1.35.40" ,
3134]
35+ cache-keys = [{ file = " pyproject.toml" }, { git = { commit = true , tags = true }}]
3236
3337[tool .uv .sources ]
3438localstack-sdk-generated = { workspace = true }
You can’t perform that action at this time.
0 commit comments