-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
91 lines (78 loc) · 1.78 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
79
80
81
82
83
84
85
86
87
88
89
90
91
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "papers-cli"
authors = [
{name = "Mahé Perrette", email = "[email protected]"},
]
description='utilities to keep your PDF library organized'
readme = "README.md"
requires-python = ">=3.7"
keywords = ['bibtex', 'references','bibliography']
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"unidecode",
"crossrefapi",
"bibtexparser",
"scholarly",
"rapidfuzz",
"normality",
]
dynamic = ["version"]
[project.optional-dependencies]
# all = ["package"]
[project.urls]
homepage = "https://github.com/perrette/papers"
[tool.setuptools_scm]
write_to = "papers/_version.py"
[project.scripts]
papers = "papers.__main__:main"
[tool.tox]
# Tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
legacy_tox_ini = """
[tox]
envlist = clean, py38, py39, py310, py311, report
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
commands = pytest --cov=papers --cov-append --cov-report=term-missing {posargs} -xv
deps =
bibtexparser
scholarly
crossrefapi
rapidfuzz
unidecode
normality
pytest
pytest-cov
depends =
{py38,py39,py310,py311}: clean
report: py38,py39,py310,py311
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands =
coverage erase
[pytest]
norecursedirs =
.tox
.git
"""