-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
78 lines (68 loc) · 1.69 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
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
[build-system]
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[project]
name = "wenxian"
dynamic = ["version"]
description = "Generate references."
authors = [
{ name = "Jinzhe Zeng", email = "jinzhe.zeng@rutgers.edu"},
]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
"requests",
"pylatexenc",
"unidecode",
"pyiso4",
"requests-ratelimiter",
"pyrate-limiter",
]
requires-python = ">=3.8"
readme = "README.md"
keywords = ["bib"]
[project.scripts]
wenxian = "wenxian.__main__:main"
[project.urls]
repository = "https://github.com/njzjz/wenxian"
[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
]
[tool.setuptools.packages.find]
include = ["wenxian*"]
[tool.setuptools_scm]
[tool.ruff.lint]
select = [
"E", # errors
"W", # warnings
"F", # pyflakes
"D", # pydocstyle
"I", # isort
"UP", # pyupgrade
"C4", # flake8-comprehensions
"RUF", # ruff
"I", # isort
"TCH", # flake8-type-checking
"T", # flake8-print
]
ignore = [
"E501", # line too long
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.coverage.report]
include = ["wenxian/*"]