Skip to content

Commit 1c28b7c

Browse files
committed
fix(CI): using separate file for tracking version to help with release-please action
1 parent 100f1a8 commit 1c28b7c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pygeofilter/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@
2525
# THE SOFTWARE.
2626
# ------------------------------------------------------------------------------
2727

28-
__version__ = "0.2.4"
28+
from .version import __version__
29+
30+
31+
__all__ = ["__version__"]

pygeofilter/version.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.2.4"

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
version = attr: pygeofilter.__version__
2+
version = attr: pygeofilter.version.__version__
33

44
######################################################
55
# code formating / lint / type checking configurations

0 commit comments

Comments
 (0)