Skip to content

Commit e690b2d

Browse files
authored
chore: add version (#26)
1 parent 6fff8e2 commit e690b2d

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "toolbox-langchain"
3-
version="0.0.1"
3+
dynamic = ["version"]
44
description = "Python SDK for interacting with the Toolbox service with LangChain"
55
license = {file = "LICENSE"}
66
requires-python = ">=3.9"
@@ -26,10 +26,14 @@ classifiers = [
2626
"Programming Language :: Python :: 3.12",
2727
]
2828

29+
[tool.setuptools.dynamic]
30+
version = {attr = "toolbox_langchain.version.__version__"}
31+
2932
[project.urls]
30-
Homepage = "https://github.com/googleapis/genai-toolbox"
31-
Repository = "https://github.com/googleapis/genai-toolbox.git"
32-
"Bug Tracker" = "https://github.com/googleapis/genai-toolbox/issues"
33+
Homepage = "https://github.com/googleapis/genai-toolbox-langchain-python"
34+
Repository = "https://github.com/googleapis/genai-toolbox-langchain-python.git"
35+
"Bug Tracker" = "https://github.com/googleapis/genai-toolbox-langchain-python/issues"
36+
Changelog = "https://github.com/googleapis/genai-toolbox-langchain-python/blob/main/CHANGELOG.md"
3337

3438
[project.optional-dependencies]
3539
test = [

src/toolbox_langchain/version.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
__version__ = "0.1.0"

0 commit comments

Comments
 (0)