generated from carbonplan/python-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a774651
commit 02ed4a1
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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 | ||
|