Select Git revision
distributed-2.30.1-gcccoremkl-11.3.0-2022.1.0.eb
-
Sebastian Achilles authoredSebastian Achilles authored
pyproject.toml 1.98 KiB
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["jsc_custom"]
include = ["*.py"]
exclude = ["test*"]
[project]
name = "jupyter-jsc-custom"
description = "Helper classes and functions, used for JupyterHubs running at Juelich Supercomputing centre"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
keywords = ["jupyterhub"]
authors = [
{name = "Tim Kreuzer", email = "t.kreuzer@fz-juelich.de"},
{name = "Alice Grosch", email = "a.grosch@fz-juelich.de"}
]
dependencies = [
"datefinder",
"escapism",
"jinja2",
"jsonformatter",
"jupyterhub>=4.0.0,<5.0.0",
"M2Crypto",
"traitlets",
"urllib3",
"pyyaml",
"jupyterhub-unicorespawner",
"jupyterhub-forwardbasespawner>=1.0.8",
"jupyterhub-outpostspawner",
"oauthenticator"
]
dynamic = ["version"]
[tool.black]
target_version = [
"py39",
"py310",
"py311",
"py312",
]
[tool.hatch.version]
path = "jsc_custom/_version.py"
[tool.isort]
profile = "black"
[tool.tbump]
# Uncomment this if your project is hosted on GitHub:
github_url = "https://github.com/kreuzert/jupyter-jsc-custom"
[tool.tbump.version]
current = "0.12.14"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?P<pre>((a|b|rc)\d+)|)
\.?
(?P<post>((post)\d+)|)
(?P<dev>(?<=\.)dev\d*|)
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "{new_version}"
# For each file to patch, add a [[tool.tbump.file]] config
# section containing the path of the file, relative to the
# pyproject.toml location.
#[[tool.tbump.file]]
#src = "pyproject.toml"
#search = 'version = "{current_version}"'
[[tool.tbump.file]]
src = "jsc_custom/_version.py"
#version_template = '({major}, {minor}, {patch}, "{pre}", "{dev}")'
#search = "version_info = {current_version}"
#[[tool.tbump.file]]
#src = "docs/source/_static/rest-api.yml"
#search = "version: {current_version}"
[tool.djlint]
indent = 2
profile = "jinja"