-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prepare the initial files for ipywidgets 8.x
- Loading branch information
Dou Du
committed
Dec 12, 2022
1 parent
35264ce
commit 7a53fee
Showing
24 changed files
with
181 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,112 @@ | ||
[build-system] | ||
requires = ["jupyter_packaging==0.7.9", "jupyterlab==3.*", "setuptools>=40.8.0", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"hatchling>=1.3.1", | ||
"jupyterlab==3.*", | ||
] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "widget_periodictable" | ||
description = "A jupyter widget for a interactive periodic table." | ||
readme = "README.md" | ||
license = { file = "LICENSE.txt" } | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{ name = "Dou Du,Casper Welzel Andersen", email = "dou.du@epfl.ch" }, | ||
] | ||
keywords = [ | ||
"IPython", | ||
"Jupyter", | ||
"Widgets", | ||
] | ||
classifiers = [ | ||
"Framework :: Jupyter", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
] | ||
dependencies = [ | ||
"ipywidgets>=7.0.0", | ||
] | ||
version = "3.1.0" | ||
|
||
[project.optional-dependencies] | ||
docs = [ | ||
"jupyter_sphinx", | ||
"nbsphinx", | ||
"nbsphinx-link", | ||
"pypandoc", | ||
"pytest_check_links", | ||
"recommonmark", | ||
"sphinx>=1.5", | ||
"sphinx_rtd_theme", | ||
] | ||
examples = [] | ||
test = [ | ||
"nbval", | ||
"pytest-cov", | ||
"pytest>=6.0", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/osscar-org/widget-periodictable" | ||
|
||
[tool.hatch.build] | ||
artifacts = [ | ||
"widget_periodictable/nbextension/index.*", | ||
"widget_periodictable/labextension/*.tgz", | ||
"widget_periodictable/labextension", | ||
] | ||
|
||
[tool.hatch.build.targets.wheel.shared-data] | ||
"widget_periodictable/nbextension" = "share/jupyter/nbextensions/widget_periodictable" | ||
"widget_periodictable/labextension" = "share/jupyter/labextensions/widget_periodictable" | ||
"./install.json" = "share/jupyter/labextensions/widget_periodictable/install.json" | ||
"./widget_periodictable.json" = "etc/jupyter/nbconfig/notebook.d/widget_periodictable.json" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
exclude = [ | ||
".github", | ||
] | ||
|
||
[tool.hatch.build.hooks.jupyter-builder] | ||
build-function = "hatch_jupyter_builder.npm_builder" | ||
ensured-targets = [ | ||
"widget_periodictable/nbextension/index.js", | ||
"widget_periodictable/labextension/package.json", | ||
] | ||
skip-if-exists = [ | ||
"widget_periodictable/nbextension/index.js", | ||
"widget_periodictable/labextension/package.json", | ||
] | ||
dependencies = [ | ||
"hatch-jupyter-builder>=0.5.0", | ||
] | ||
|
||
[tool.hatch.build.hooks.jupyter-builder.build-kwargs] | ||
path = "." | ||
build_cmd = "build:prod" | ||
|
||
[tool.tbump] | ||
field = [ | ||
{ name = "channel", default = "" }, | ||
{ name = "release", default = "" }, | ||
] | ||
file = [ | ||
{ src = "pyproject.toml", version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\"" }, | ||
{ src = "widget_periodictable/_version.py" }, | ||
] | ||
|
||
[tool.tbump.version] | ||
current = "3.1.0" | ||
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?" | ||
|
||
[tool.tbump.git] | ||
message_template = "Bump to {new_version}" | ||
tag_template = "v{new_version}" |
Oops, something went wrong.