forked from google/Xee
-
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.
Use pyproject.toml instead of setup.py.
Package version should now be pulled from tags. PiperOrigin-RevId: 582779110
- Loading branch information
Xee authors
committed
Nov 15, 2023
1 parent
07b8676
commit cfc2ba1
Showing
2 changed files
with
59 additions
and
83 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 |
---|---|---|
@@ -1,5 +1,63 @@ | ||
[project] | ||
name = "xee" | ||
dynamic = ["version"] | ||
description = "A Google Earth Engine extension for Xarray." | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
license = {text = "Apache-2.0"} | ||
authors = [ | ||
{name = "Google LLC", email = "[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Scientific/Engineering :: Atmospheric Science", | ||
] | ||
dependencies = [ | ||
"xarray[parallel]", | ||
"earthengine-api>=0.1.374", | ||
"pyproj", | ||
"affine", | ||
] | ||
|
||
[project.entry-points."xarray.backends"] | ||
ee = "xee:EarthEngineBackendEntrypoint" | ||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"absl-py", | ||
"pytest", | ||
"pyink", | ||
] | ||
examples = [ | ||
"apache_beam[gcp]", | ||
"xarray-beam", | ||
"absl-py", | ||
"gcsfs", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/google/xee" | ||
Issues = "https://github.com/google/Xee/issues" | ||
|
||
[build-system] | ||
requires = ["setuptools>=64", "setuptools_scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pyink] | ||
line-length = 80 | ||
preview = true | ||
pyink-indentation = 2 | ||
pyink-use-majority-quotes = true | ||
pyink-use-majority-quotes = true | ||
|
||
[tool.setuptools_scm] |