File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[project ]
22name = " xarray_plotly"
3- version = " 0.0.1 "
3+ dynamic = [ " version " ]
44description = " Interactive Plotly Express plotting accessor for xarray"
55readme = " README.md"
66license = { text = " MIT" }
@@ -51,11 +51,14 @@ docs = [
5151# Entry point for xarray to auto-register the accessor (xarray >= 2024.01)
5252
5353[build-system ]
54- requires = [" hatchling " ]
55- build-backend = " hatchling.build "
54+ requires = [" setuptools>=61.0.0 " , " wheel " , " setuptools_scm[toml]>=6.2 " ]
55+ build-backend = " setuptools.build_meta "
5656
57- [tool .hatch .build .targets .wheel ]
58- packages = [" xarray_plotly" ]
57+ [tool .setuptools .packages .find ]
58+ include = [" xarray_plotly*" ]
59+
60+ [tool .setuptools_scm ]
61+ version_scheme = " post-release"
5962
6063[tool .ruff ]
6164target-version = " py310"
Original file line number Diff line number Diff line change 3636 "auto" ,
3737]
3838
39- __version__ = "0.1.0"
39+ from importlib .metadata import version
40+
41+ __version__ = version ("xarray_plotly" )
4042
4143# Register the accessor
4244register_dataarray_accessor ("plotly" )(DataArrayPlotlyAccessor )
You can’t perform that action at this time.
0 commit comments