Skip to content

Commit 69f79f4

Browse files
committed
prepare v3.3.0 release, edit version number only in 1 place
1 parent 2d9a828 commit 69f79f4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

opencage/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.2.0'
1+
__version__ = '3.3.0'

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "opencage"
7-
version = "3.2.0"
7+
dynamic = ["version"]
88
description = "Wrapper module for the OpenCage Geocoder API"
99
readme = "README.md"
1010
requires-python = ">=3.9"
@@ -49,7 +49,10 @@ opencage = "opencage.command_line:main"
4949

5050
[project.urls]
5151
Repository = "https://github.com/OpenCageData/python-opencage-geocoder"
52-
Download = "https://github.com/OpenCageData/python-opencage-geocoder/tarball/3.2.0"
52+
Download = "https://github.com/OpenCageData/python-opencage-geocoder"
53+
54+
[tool.setuptools.dynamic]
55+
version = {attr = "opencage.version.__version__"}
5356

5457
[tool.coverage.run]
5558
branch = true

0 commit comments

Comments
 (0)