@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
33build-backend = " setuptools.build_meta"
44
55[project ]
6- name = " freva- xarray"
6+ name = " xarray-prism "
77dynamic = [" version" ]
88description = " A multi-format and multi-storage xarray engine with automatic engine detection, and ability to register new data format and uri type for climate data."
99readme = " README.md"
@@ -50,19 +50,19 @@ dev = [
5050]
5151
5252[project .urls ]
53- Issues = " https://github.com/freva-org/freva- xarray/issues"
54- Source = " https://github.com/freva-org/freva- xarray/"
53+ Issues = " https://github.com/freva-org/xarray-prism /issues"
54+ Source = " https://github.com/freva-org/xarray-prism /"
5555
5656# IMPORTANT: Register as xarray backend, auto-discovered by xarray
5757[project .entry-points ."xarray .backends" ]
58- freva = " freva_xarray .entrypoint:FrevaBackendEntrypoint"
58+ freva = " xarray_prism .entrypoint:FrevaBackendEntrypoint"
5959[tool .codespell ]
6060ignore-words-list = " iterm"
6161[tool .setuptools .dynamic ]
62- version = {attr = " freva_xarray ._version.__version__" }
62+ version = {attr = " xarray_prism ._version.__version__" }
6363[tool .setuptools .packages .find ]
6464where = [" src" ]
65- include = [" freva_xarray *" ]
65+ include = [" xarray_prism *" ]
6666
6767[tool .pytest .ini_options ]
6868testpaths = [" tests" ]
@@ -84,7 +84,7 @@ python_version = "3.10"
8484warn_return_any = true
8585warn_unused_configs = true
8686ignore_missing_imports = true
87- files = " src/freva_xarray "
87+ files = " src/xarray_prism "
8888strict = false
8989follow_imports = " silent"
9090
@@ -95,7 +95,7 @@ target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
9595[tool .isort ]
9696profile = " black"
9797line_length = 88
98- known_first_party = [" freva_xarray " ]
98+ known_first_party = [" xarray_prism " ]
9999
100100[tool .flake8 ]
101101ignore = [" F405" , " F403" , " E704" , " W503" , " C901" ]
@@ -140,7 +140,7 @@ deps =
140140 -e .[dev]
141141 pytest-env
142142commands =
143- python3 -m pytest -vv --cov=freva_xarray --cov-report=html:coverage_report --cov-report=xml --junitxml=report.xml tests/ {posargs}
143+ python3 -m pytest -vv --cov=xarray_prism --cov-report=html:coverage_report --cov-report=xml --junitxml=report.xml tests/ {posargs}
144144 python3 -m coverage report --fail-under=80 --precision=2
145145
146146[testenv:lint]
@@ -152,10 +152,10 @@ deps =
152152 flake8
153153 codespell
154154commands =
155- python3 -m isort --check --profile black -t py39 -l 88 src/freva_xarray
156- python3 -m black --check src/freva_xarray tests
157- python3 -m flake8 src/freva_xarray --count --max-complexity=10 --ignore=F405,F403,E704,W503,C901 --max-line-length=88 --statistics --show-source
158- codespell --quiet-level=2 src/freva_xarray
155+ python3 -m isort --check --profile black -t py39 -l 88 src/xarray_prism
156+ python3 -m black --check src/xarray_prism tests
157+ python3 -m flake8 src/xarray_prism --count --max-complexity=10 --ignore=F405,F403,E704,W503,C901 --max-line-length=88 --statistics --show-source
158+ codespell --quiet-level=2 src/xarray_prism
159159
160160[testenv:types]
161161description = "Static type checking."
@@ -164,16 +164,16 @@ deps =
164164 mypy
165165 types-setuptools
166166commands =
167- python3 -m mypy src/freva_xarray --ignore-missing-imports
167+ python3 -m mypy src/xarray_prism --ignore-missing-imports
168168
169169[testenv:format]
170170description = "Auto-format code."
171171deps =
172172 black
173173 isort
174174commands =
175- python3 -m isort --profile black -t py39 -l 88 src/freva_xarray tests
176- python3 -m black src/freva_xarray tests
175+ python3 -m isort --profile black -t py39 -l 88 src/xarray_prism tests
176+ python3 -m black src/xarray_prism tests
177177
178178[testenv:release]
179179description = "Tag a new release."
@@ -183,7 +183,7 @@ deps =
183183 requests
184184 tomli
185185commands =
186- python3 bump.py tag freva_xarray -p .
186+ python3 bump.py tag xarray_prism -p .
187187allowlist_externals =
188188 rm
189189 curl
@@ -200,7 +200,7 @@ deps =
200200 requests
201201 tomli
202202commands =
203- python3 bump.py deploy freva_xarray -p .
203+ python3 bump.py deploy xarray_prism -p .
204204allowlist_externals =
205205 rm
206206 curl
0 commit comments