forked from python-lsp/python-lsp-jsonrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (42 loc) · 1.28 KB
/
pyproject.toml
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
# Copyright 2017-2020 Palantir Technologies, Inc.
# Copyright 2021- Python Language Server Contributors.
[build-system]
requires = ["setuptools>=61.2.0", "wheel", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"
[project]
name = "python-lsp-jsonrpc"
authors = [{name = "Python Language Server Contributors"}]
description = "JSON RPC 2.0 server library"
license = {text = "MIT"}
requires-python = ">=3.7"
dependencies = ["ujson>=3.0.0"]
dynamic = ["version"]
classifiers = [
"License :: OSI Approved :: MIT License",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/python-lsp/python-lsp-jsonrpc"
[project.optional-dependencies]
test = [
"pylint",
"pycodestyle",
"pyflakes",
"pytest",
"pytest-cov",
"coverage",
]
[tool.setuptools]
license-files = ["LICENSE"]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["contrib", "docs", "test", "test.*"]
namespaces = false
[tool.setuptools_scm]
write_to = "pylsp_jsonrpc/_version.py"
write_to_template = "__version__ = \"{version}\"\n" # VERSION_INFO is populated in __main__
[tool.pytest.ini_options]
testpaths = ["test"]
addopts = "--cov-report html --cov-report term --junitxml=pytest.xml --cov pylsp_jsonrpc --cov test"