Skip to content

Commit

Permalink
github release
Browse files Browse the repository at this point in the history
  • Loading branch information
norlandrhagen committed Jun 14, 2024
1 parent a774651 commit 02ed4a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions pangeo_forge_ndpyramid/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from importlib.metadata import version as _version

try:
__version__ = _version("pangeo-forge-ndpyramid")
except Exception:
__version__ = "9999"
10 changes: 3 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Pangeo Forge extension libary to generate multi-scale pyramids th
readme = "README.md"
license = {text = "MIT"}
authors = [{name = "CarbonPlan", email = "[email protected]"}]
requires-python = ">=3.9"
requires-python = ">=3.10"
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
Expand Down Expand Up @@ -51,17 +51,13 @@ build-backend = "setuptools.build_meta"


[tool.setuptools_scm]
write_to = "pangeo_forge_ndpyramid/_version.py"
write_to_template = '''
__version__ = "{version}"
'''
local_scheme = "guess-next-dev"
fallback_version = "9999"

[tool.setuptools.packages.find]
exclude = ["docs", "tests", "tests.*", "docs.*"]




[mypy]
files = "pangeo-forge-ndpyramid/**/*.py"
show_error_codes = true
Expand Down

0 comments on commit 02ed4a1

Please sign in to comment.