-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (76 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
92 lines (76 loc) · 2.17 KB
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
87
88
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "onecite"
version = "0.1.0"
description = "Citation management and academic reference toolkit"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "He Zhiang", email = "ang@hezhiang.com"}
]
keywords = ["citation", "bibliography", "bibtex", "academic", "reference", "doi", "arxiv"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup",
]
dependencies = [
"requests>=2.25.0",
"beautifulsoup4>=4.9.0",
"bibtexparser>=1.2.0,<2.0.0",
"thefuzz>=0.19.0",
"pyyaml>=5.4.0",
"feedparser>=6.0.0",
]
[project.optional-dependencies]
scholar = [
"scholarly>=1.5.0",
]
dev = [
"pytest>=6.0",
"pytest-cov>=2.10",
"flake8>=3.8",
"black>=20.8b1",
]
[project.urls]
Homepage = "https://github.com/HzaCode/OneCite"
Documentation = "https://hezhiang.com/OneCite/"
Repository = "https://github.com/HzaCode/OneCite"
Issues = "https://github.com/HzaCode/OneCite/issues"
Changelog = "https://github.com/HzaCode/OneCite/blob/main/docs/changelog.rst"
"Bug Tracker" = "https://github.com/HzaCode/OneCite/issues"
[project.scripts]
onecite = "onecite.cli:main"
[tool.setuptools]
packages = ["onecite"]
[tool.setuptools.package-data]
onecite = ["templates/*.yaml"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
check_untyped_defs = true
[tool.black]
line-length = 100
target-version = ['py310', 'py311']
[tool.isort]
profile = "black"
line_length = 100