|
1 | 1 | [build-system] |
2 | | -requires = ["jupyter_packaging~=0.7.9", "jupyterlab==4.*", "setuptools>=40.8.0", "wheel"] |
3 | | -build-backend = "setuptools.build_meta" |
| 2 | +requires = [ |
| 3 | + "hatchling", |
| 4 | + "jupyterlab==4.*", |
| 5 | +] |
| 6 | +build-backend = "hatchling.build" |
| 7 | + |
| 8 | +[project] |
| 9 | +name = "bqplot-gl" |
| 10 | +description = "bqplot plugin providing marks powered by WebGL" |
| 11 | +readme = "README.md" |
| 12 | +authors = [ |
| 13 | + { name = "The BQplot Development Team" }, |
| 14 | +] |
| 15 | +keywords = [ |
| 16 | + "IPython", |
| 17 | + "Jupyter", |
| 18 | + "Widgets", |
| 19 | + "Graphics", |
| 20 | + "Plotting", |
| 21 | + "d3", |
| 22 | + "WebGL", |
| 23 | +] |
| 24 | +classifiers = [ |
| 25 | + "Framework :: Jupyter", |
| 26 | + "Intended Audience :: Developers", |
| 27 | + "Intended Audience :: Science/Research", |
| 28 | + "License :: OSI Approved :: Apache Software License", |
| 29 | + "Programming Language :: Python", |
| 30 | + "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: 3.7", |
| 32 | + "Programming Language :: Python :: 3.8", |
| 33 | + "Programming Language :: Python :: 3.9", |
| 34 | + "Programming Language :: Python :: 3.10", |
| 35 | + "Programming Language :: Python :: 3.11", |
| 36 | +] |
| 37 | +dependencies = [ |
| 38 | + "bqplot>=0.13.0a0,<0.14", |
| 39 | +] |
| 40 | +version = "0.1.0" |
| 41 | + |
| 42 | +[project.license] |
| 43 | +file = "LICENSE" |
| 44 | + |
| 45 | +[project.urls] |
| 46 | +Homepage = "https://github.com/bqplot/bqplot-gl" |
| 47 | + |
| 48 | +[tool.hatch.build] |
| 49 | +artifacts = [ |
| 50 | + "bqplot_gl/nbextension/static/index.*", |
| 51 | + "bqplot_gl/labextension", |
| 52 | +] |
| 53 | + |
| 54 | +[tool.hatch.build.targets.wheel.shared-data] |
| 55 | +"bqplot_gl/nbextension/static" = "share/jupyter/nbextensions/bqplot-gl" |
| 56 | +"bqplot_gl/labextension" = "share/jupyter/labextensions/bqplot-gl" |
| 57 | +"bqplot-gl.json" = "etc/jupyter/nbconfig/notebook.d/bqplot-gl.json" |
| 58 | + |
| 59 | +[tool.hatch.build.targets.sdist] |
| 60 | +exclude = [ |
| 61 | + ".github", |
| 62 | +] |
| 63 | + |
| 64 | +[tool.hatch.build.hooks.jupyter-builder] |
| 65 | +ensured-targets = [ |
| 66 | + "bqplot_gl/nbextension/static/index.js", |
| 67 | + "bqplot_gl/labextension/package.json", |
| 68 | +] |
| 69 | +dependencies = [ |
| 70 | + "hatch-jupyter-builder>=0.8.1", |
| 71 | +] |
| 72 | +build-function = "hatch_jupyter_builder.npm_builder" |
| 73 | + |
| 74 | +[tool.hatch.build.hooks.jupyter-builder.build-kwargs] |
| 75 | +path = "." |
| 76 | +build_cmd = "build:prod" |
| 77 | +npm = [ |
| 78 | + "jlpm", |
| 79 | +] |
| 80 | + |
| 81 | +[tool.tbump] |
| 82 | +field = [ |
| 83 | + { name = "channel", default = "" }, |
| 84 | + { name = "release", default = "" }, |
| 85 | +] |
| 86 | + |
| 87 | +[tool.tbump.version] |
| 88 | +current = "0.1.0" |
| 89 | +regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?" |
| 90 | + |
| 91 | +[tool.tbump.git] |
| 92 | +message_template = "Bump to {new_version}" |
| 93 | +tag_template = "v{new_version}" |
| 94 | + |
| 95 | +[[tool.tbump.file]] |
| 96 | +src = "pyproject.toml" |
| 97 | +version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\"" |
| 98 | + |
| 99 | +[[tool.tbump.file]] |
| 100 | +src = "bqplot_gl/_version.py" |
| 101 | + |
| 102 | +[[tool.tbump.file]] |
| 103 | +src = "package.json" |
| 104 | +version_template = "\"version\": \"{major}.{minor}.{patch}{channel}{release}\"" |
0 commit comments