mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
4f397ab9d6
The specifier `~=0.9` is equivalent to `>= 0.9, == 0.*` so there is no need to specify `<2`.
29 lines
1.0 KiB
TOML
29 lines
1.0 KiB
TOML
[build-system]
|
|
requires=["jupyter_packaging~=0.9"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.check-manifest]
|
|
ignore = ["docs-translations/**", ".*", "*.yml", "*.less", "git-hooks/**", "MANIFEST.in", "RELEASE.md", "jupyter.svg", "notebook/static/**", "notebook/i18n/**/*.json", "docs/source/*.*"]
|
|
ignore-bad-ideas = ["notebook/i18n/**/*.mo"]
|
|
|
|
[tool.jupyter-releaser.hooks]
|
|
after-bump-version = "python setup.py jsversion"
|
|
before-build-python = ["pip install babel", "npm install -g po2json"]
|
|
|
|
[tool.jupyter-releaser.options]
|
|
ignore-glob = ["docs/source/examples/Notebook/Working With Markdown Cells.ipynb", "docs-translations/**/README.md", "docs/source/contributing.rst", "docs/source/examples/Notebook/JavaScript Notebook Extensions.ipynb", "CHANGELOG.md"]
|
|
|
|
[tool.tbump.version]
|
|
current = "6.5.0.dev0"
|
|
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}"
|
|
|
|
[[tool.tbump.file]]
|
|
src = "notebook/_version.py"
|