-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Open-ET/pyproject_toml
Switching from setup.py to pyproject.toml
- Loading branch information
Showing
8 changed files
with
58 additions
and
74 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# try: | ||
# from importlib import metadata | ||
# except ImportError: # for Python<3.8 | ||
# import importlib_metadata as metadata | ||
|
||
from .daily import Daily | ||
from .hourly import Hourly | ||
|
||
__version__ = '0.6.2' | ||
# # __version__ = metadata.version(__package__ or __name__) | ||
# __version__ = metadata.version(__package__.replace('.', '-') or __name__.replace('.', '-')) | ||
# # __version__ = metadata.version('openet-refet-gee') | ||
|
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,44 @@ | ||
[project] | ||
name = "openet-refet-gee" | ||
version = "0.6.3" | ||
authors = [ | ||
{ name = "Charles Morton", email = "[email protected]" }, | ||
] | ||
# maintainers = [ | ||
# { name = "Charles Morton", email = "[email protected]" } | ||
# ] | ||
description = "Google Earth Engine based ASCE Standardized Reference Evapotranspiration Functions" | ||
readme = "README.rst" | ||
requires-python = ">=3.7" | ||
keywords = ["RefET", "OpenET", "Earth Engine", "evapotranspiration"] | ||
license = {file = "LICENSE.txt"} | ||
# license = {text = "Apache-2.0"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"earthengine-api>=0.1.364", | ||
"importlib-metadata; python_version <= '3.7'", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/Open-ET/openet-refet-gee" | ||
# "Repository" = "https://github.com/Open-ET/openet-refet-gee.git" | ||
# "Documentation" = "https://github.com/Open-ET/openet-refet-gee" | ||
# "Bug Tracker" = "https://github.com/Open-ET/openet-refet-gee" | ||
# "Changelog" = "https://github.com/Open-ET/openet-refet-gee" | ||
|
||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", "pandas", "pytz" | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
# include = ["openet*"] | ||
exclude = ["docs*", "examples*"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.