Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use python-specific tag for releasing Python bindings #100

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

geoarrow-c/src/geoarrow/c/geoarrow
geoarrow-c/src/geoarrow/c/_lib.cpp
geoarrow-c/src/geoarrow/c/_version.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
6 changes: 6 additions & 0 deletions python/geoarrow-c/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
root = "../.."
tag_regex = "geoarrow-c-python-([0-9]+.[0-9]+.[0-9]+)"
git_describe_command = "git describe --long --match='geoarrow-c-python-*'"
version_file = "src/geoarrow/c/_version.py"

[tool.pytest.ini_options]
consider_namespace_packages = true
1 change: 1 addition & 0 deletions python/geoarrow-c/src/geoarrow/c/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
>>> import geoarrow.c as ga
"""

from geoarrow.c._version import __version__, __version_tuple__ # NOQA: F401

from .lib import GeometryType, Dimensions, CoordType, EdgeType, CrsType
Loading