File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" setuptools>=61.0 " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" hatchling " ]
3+ build-backend = " hatchling.build "
44
55[project ]
66name = " hiplot-mm"
@@ -84,27 +84,30 @@ Homepage = "https://github.com/mindthemath/hiplot"
8484Documentation = " https://facebookresearch.github.io/hiplot/"
8585Repository = " https://github.com/mindthemath/hiplot"
8686
87- [tool .setuptools .packages .find ]
88- include = [
89- " hiplot*" ,
90- ]
87+ [tool .hatch .build ]
88+ # Force-include the built JS bundles (gitignored but needed at runtime)
89+ [tool .hatch .build .force-include ]
90+ "hiplot/static/built" = " hiplot/static/built"
91+
92+ [tool .hatch .build .targets .wheel ]
93+ packages = [" hiplot" ]
9194exclude = [
92- " hiplot.tests*" ,
95+ " hiplot/tests/" ,
96+ " hiplot/static/*.svg" ,
97+ " hiplot/static/logo.png" ,
9398]
9499
95- [tool .setuptools . package-data ]
96- hiplot = [
97- " py.typed " ,
98- " static/icon.png " ,
99- " static/built/* " ,
100- " static/built/streamlit_component/* " ,
101- " templates/* " ,
100+ [tool .hatch . build . targets . sdist ]
101+ include = [
102+ " hiplot/** " ,
103+ " LICENSE " ,
104+ " NOTICE " ,
105+ " README.md " ,
106+ " pyproject.toml " ,
102107]
103-
104- [tool .setuptools .exclude-package-data ]
105- hiplot = [
106- " static/*.svg" ,
107- " static/logo.png" ,
108+ exclude = [
109+ " hiplot/tests/" ,
110+ " examples/" ,
108111]
109112
110113[tool .ty .src ]
You can’t perform that action at this time.
0 commit comments