|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "pyearthtools-persistence" |
| 7 | +version = "0.6.0" |
| 8 | +description = "Persistence Bundled Model" |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.11, <3.14" |
| 11 | +keywords = ["persistence", "pyearthtools", "models"] |
| 12 | +maintainers = [ |
| 13 | + {name = "Tennessee Leeuwenburg", email = "tennessee.leeuwenburg@bom.gov.au"}, |
| 14 | + {name = "Nikeeth Ramanathan", email = "nikeeth.ramanathan@gmail.com"}, |
| 15 | +] |
| 16 | +classifiers = [ |
| 17 | + "License :: OSI Approved :: Apache Software License", |
| 18 | + "Operating System :: OS Independent", |
| 19 | + "Programming Language :: Python :: 3.11", |
| 20 | + "Programming Language :: Python :: 3.12", |
| 21 | + "Programming Language :: Python :: 3.13", |
| 22 | +] |
| 23 | +dependencies = [ |
| 24 | + 'pyearthtools.zoo>=0.5.0', |
| 25 | + 'pyearthtools.data>=0.5.0', |
| 26 | + 'pyearthtools.pipeline>=0.5.0', |
| 27 | + 'hydra-core', |
| 28 | +] |
| 29 | +[dependency-groups] |
| 30 | +dev = [ |
| 31 | + "pytest>=8.4.2", |
| 32 | + "ruff", |
| 33 | + "pytest-cov", |
| 34 | + "pytest-xdist", |
| 35 | +] |
| 36 | + |
| 37 | +[project.urls] |
| 38 | +homepage = "https://pyearthtools.readthedocs.io/" |
| 39 | +documentation = "https://pyearthtools.readthedocs.io/" |
| 40 | +repository = "https://github.com/ACCESS-Community-Hub/PyEarthTools" |
| 41 | + |
| 42 | +[project.entry-points."pyearthtools.zoo.model"] |
| 43 | +Global_PERSIST = "persistence.registered_model:Persistence" |
| 44 | + |
| 45 | +[tool.isort] |
| 46 | +profile = "black" |
| 47 | + |
| 48 | +[tool.black] |
| 49 | +line-length = 120 |
| 50 | + |
| 51 | +[tool.mypy] |
| 52 | +warn_return_any = true |
| 53 | +warn_unused_configs = true |
| 54 | + |
| 55 | +[[tool.mypy.overrides]] |
| 56 | +ignore_missing_imports = true |
| 57 | + |
| 58 | +[tool.hatch.version] |
| 59 | +path = "src/persistence/__init__.py" |
| 60 | + |
| 61 | +[tool.hatch.build.targets.wheel] |
| 62 | +packages = ["src/pyearthtools/"] |
| 63 | + |
| 64 | +[tool.pixi.workspace] |
| 65 | +channels = ["conda-forge"] |
| 66 | +platforms = ["linux-64"] |
| 67 | + |
| 68 | +[tool.pixi.pypi-dependencies] |
| 69 | +pyearthtools-persistence = { path = ".", editable = true } |
| 70 | + |
| 71 | +[tool.pixi.tasks] |
| 72 | + |
| 73 | +[tool.pixi.dependencies] |
| 74 | +python = ">=3.11,<3.14" |
| 75 | +xarray = ">=2026.1.0,<2027" |
| 76 | + |
| 77 | +[tool.pixi.feature.testing.dependencies] |
| 78 | +pytest = ">=9.0.2,<10" |
| 79 | +pytest-cov = ">=7.0.0,<8" |
| 80 | +pytest-xdist = ">=3.8.0,<4" |
| 81 | +ruff = ">=0.15.0,<0.16" |
| 82 | +ipython = ">=9.10.0,<10" |
| 83 | + |
| 84 | +[tool.pixi.feature.dask.dependencies] |
| 85 | +dask-core = "*" |
| 86 | +distributed = "*" |
| 87 | +pyarrow = ">=23.0.0,<24" |
| 88 | + |
| 89 | +[tool.pixi.environments] |
| 90 | +dask = ["dask"] |
| 91 | +dev = ["dask", "testing"] |
0 commit comments