1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
[build-system]
requires = ["hatchling>=1.10.0", "hatch-nodejs-version"]
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 = [
"importlib_metadata >=3.6; python_version<'3.10'",
"pycrdt >=0.8.1,<0.9.0",
]
[[project.authors]]
name = "Jupyter Development Team"
email = "jupyter@googlegroups.com"
[project.optional-dependencies]
dev = [
"click",
"jupyter_releaser",
"pre-commit"
]
test = [
"pre-commit",
"pytest",
"pytest-asyncio",
"websockets >=10.0",
"pycrdt-websocket >=0.12.6,<0.13.0",
]
docs = [
"sphinx",
"myst-parser",
"pydata-sphinx-theme"
]
[project.entry-points.jupyter_ydoc]
blob = "jupyter_ydoc.yblob:YBlob"
file = "jupyter_ydoc.yfile:YFile"
unicode = "jupyter_ydoc.yunicode:YUnicode"
notebook = "jupyter_ydoc.ynotebook:YNotebook"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "BSD 3-Clause License"
[project.urls]
Homepage = "https://jupyter.org"
Source = "https://github.com/jupyter-server/jupyter_ydoc"
[tool.hatch.version]
source = "nodejs"
path = "javascript/package.json"
[tool.hatch.build]
exclude = ["javascript", "!javascript/package.json"]
[tool.hatch.build.hooks.version]
path = "jupyter_ydoc/_version.py"
[tool.check-manifest]
ignore = [".*"]
[tool.jupyter-releaser]
skip = [
"check-links",
"check-manifest",
]
[tool.jupyter-releaser.hooks]
before-build-npm = ["cd javascript && yarn && yarn build"]
before-bump-version = ["pip install -e .[dev]"]
[tool.jupyter-releaser.options]
version_cmd = "hatch version"
[tool.flake8]
max-line-length = 100
|