Skip to content

Commit

Permalink
Use hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Sep 26, 2022
1 parent 3e21fc6 commit c123743
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 58 deletions.
70 changes: 56 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,61 @@
[tool.check-manifest]
ignore = [".*"]
[build-system]
requires = [
"hatchling>=1.10.0",
]
build-backend = "hatchling.build"

[project]
name = "jupyter-ydoc"
dynamic = [
"version",
]
description = "Document structures for collaborative editing using Ypy"
requires-python = ">=3.7"
keywords = [
"jupyter",
"ypy",
]
dependencies = [
"y-py >=0.5.3,<0.6.0",
]

[[project.authors]]
name = "Jupyter Development Team"
email = "[email protected]"

[project.optional-dependencies]
test = [
"pre-commit",
"pytest",
"pytest-asyncio",
"websockets >=10.0",
"ypy-websocket >=0.3.1,<0.4.0",
]

[tool.tbump.version]
current = "0.1.17"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
'''
[project.entry-points.jupyter_ydoc]
file = "jupyter_ydoc.ydoc:YFile"
notebook = "jupyter_ydoc.ydoc:YNotebook"

[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[project.readme]
file = "README.md"
content-type = "text/markdown"

[[tool.tbump.file]]
src = "jupyter_ydoc/__init__.py"
[project.license]
text = "BSD 3-Clause License"

[project.urls]
Homepage = "https://jupyter.org"

[tool.hatch.version]
path = "jupyter_ydoc/__init__.py"

[tool.check-manifest]
ignore = [
".*",
]

[tool.jupyter-releaser]
skip = ["check-links", "check-manifest"]
skip = [
"check-links",
"check-manifest",
]
41 changes: 0 additions & 41 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit c123743

Please sign in to comment.