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 6fb9029
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 58 deletions.
73 changes: 59 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,64 @@
[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 = "jupyter@googlegroups.com"

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

[project.entry-points.jupyter_ydoc]
file = "jupyter_ydoc.ydoc:YFile"
notebook = "jupyter_ydoc.ydoc:YNotebook"

[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.readme]
file = "README.md"
content-type = "text/markdown"

[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[project.license]
text = "BSD 3-Clause License"

[[tool.tbump.file]]
src = "jupyter_ydoc/__init__.py"
[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",
]

[tool.flake8]
max-line-length = 100
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 6fb9029

Please sign in to comment.