Skip to content

Commit f80e8f2

Browse files
authored
Merge pull request #18 from xarray-contrib/switch_import
Change import to xarray_dataclass
2 parents cf30867 + b930c57 commit f80e8f2

File tree

15 files changed

+744
-790
lines changed

15 files changed

+744
-790
lines changed

pixi.lock

Lines changed: 724 additions & 768 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ dependencies = [
3434
"typing-extensions >=4.10.0"]
3535

3636
[project.urls]
37-
Homepage = "https://github.com/xarray-contrib/xarray-dataclasses/"
38-
Repository = "https://github.com/xarray-contrib/xarray-dataclasses/"
39-
Documentation = "https://xarray-contrib.github.io/xarray-dataclasses/"
37+
Homepage = "https://github.com/xarray-contrib/xarray-dataclass/"
38+
Repository = "https://github.com/xarray-contrib/xarray-dataclass/"
39+
Documentation = "https://xarray-contrib.github.io/xarray-dataclass/"
4040

4141

4242
[project.optional-dependencies]
@@ -55,10 +55,10 @@ include = [
5555
]
5656

5757
[tool.hatch.version]
58-
path = "src/xarray_dataclasses/__about__.py"
58+
path = "src/xarray_dataclass/__about__.py"
5959

6060
[tool.hatch.build.targets.wheel]
61-
packages = ["src/xarray_dataclasses"]
61+
packages = ["src/xarray_dataclass"]
6262

6363
[tool.pixi.project]
6464
channels = ["conda-forge"]
@@ -70,7 +70,7 @@ dev = { features = ["dev"], solve-group = "default" }
7070

7171
[tool.pixi.feature.dev.tasks]
7272
tests = "pytest"
73-
doc_build = { cmd = "sphinx-apidoc -efT -o docs/_apidoc src/xarray_dataclasses && sphinx-build -a docs docs/_build" }
73+
doc_build = { cmd = "sphinx-apidoc -efT -o docs/_apidoc src/xarray_dataclass && sphinx-build -a docs docs/_build" }
7474
doc_serve = { cmd = "sphinx-build -a docs docs/_build && python -m http.server --directory docs/_build 8000" }
7575
precommit = { cmd = "pre-commit run --all-files"}
7676

@@ -84,8 +84,6 @@ reportUnknownParameterType = "none"
8484
reportUntypedFunctionDecorator = "none"
8585
typeCheckingMode = "strict"
8686

87-
[tool.pixi.pypi-dependencies]
88-
xarray-dataclass = { path = ".", editable = true }
8987

9088
[tool.pixi.dependencies]
9189
# Allows to specify the pixi conda executable to be able to set the python interpreter.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/xarray_dataclasses/typing.py renamed to src/xarray_dataclass/typing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
66
from dataclasses import dataclass
77
from typing import Literal
8-
from xarray_dataclasses import AsDataArray, AsDataset
9-
from xarray_dataclasses import Attr, Coord, Data, Name
10-
from xarray_dataclasses import Coordof, Dataof
8+
from xarray_dataclass import AsDataArray, AsDataset
9+
from xarray_dataclass import Attr, Coord, Data, Name
10+
from xarray_dataclass import Coordof, Dataof
1111
1212
1313
X = Literal["x"]

0 commit comments

Comments
 (0)