Skip to content

Commit 1013b59

Browse files
committed
Add environment.yml and pyproject.toml
1 parent 29156c1 commit 1013b59

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

environment.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: xrenmap
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- netcdf4
6+
- xarray

pyproject.toml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[build-system]
2+
requires = [
3+
"setuptools >= 40.9.0",
4+
]
5+
build-backend = "setuptools.build_meta"
6+
7+
[project]
8+
name = "xrenmap"
9+
dynamic = ["version"]
10+
authors = [
11+
{name = "Pontus Lurcock", email = "[email protected]"}
12+
]
13+
description = """\
14+
xarray backend for EnMAP data archives\
15+
"""
16+
keywords = [
17+
"analysis ready data", "data science", "datacube", "xarray", "zarr"
18+
]
19+
readme = {file = "README.md", content-type = "text/markdown"}
20+
license = {text = "MIT"}
21+
requires-python = ">=3.10"
22+
dependencies = [
23+
"netcdf4",
24+
"xarray",
25+
]
26+
27+
[tool.setuptools.dynamic]
28+
version = {attr = "xrenmap.__version__"}
29+
30+
[tool.setuptools.packages.find]
31+
exclude = [
32+
"test*",
33+
"doc*",
34+
"site*",
35+
"htmlcov*"
36+
]
37+
38+
[project.optional-dependencies]
39+
dev = [
40+
"pytest",
41+
"pytest-cov",
42+
"black",
43+
"flake8"
44+
]
45+
doc = [
46+
"mkdocs",
47+
"mkdocs-material",
48+
"mkdocstrings",
49+
"mkdocstrings-python"
50+
]
51+
52+
[project.urls]
53+
Documentation = "https://github.com/xcube-dev/xrenmap/blob/main/README.md"
54+
Issues = "https://github.com/xcube-dev/xrenmap/issues"
55+
Changelog = "https://github.com/xcube-dev/xrenmap/blob/main/CHANGES.md"
56+
Repository = "https://github.com/xcube-dev/xrenmap"
57+
58+
[project.entry-points."xarray.backends"]
59+
enmap = "xrenmap.xrenmap:EnmapEntrypoint"

0 commit comments

Comments
 (0)