-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (79 loc) · 1.91 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 = ["hatchling>=1.17.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
dynamic = ["version"]
name = "push2HAL"
authors = [
{ name="Luc LAURENT", email="[email protected]" },
]
description = "Tools to push content to HAL repo"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Unix",
]
dependencies = [
"requests",
"lxml",
"pdftitle",
"pymupdf",
"pycountry",
"unidecode",
"python-stdnum",
"unidecode"
]
license = {file = "LICENSE"}
keywords = ["HAL", "OA", "Open-Access", "push", "tei"]
[project.urls]
Homepage = "https://github.com/luclaurent/push2HAL"
Repository = "https://github.com/luclaurent/push2HAL.git"
Issues = "https://github.com/luclaurent/push2HAL/issues"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.hooks.vcs]
version-file = "src/push2HAL/version.py"
[tool.hatch.build.targets.sdist]
exclude = [
"deploy.sh",
".gitignore",
".github",
".vscode",
"examples/use-cases/json",
"examples/use-cases/data",
"examples/use-cases/*.pdf",
"examples/use-cases/*.zip",
"examples/use-cases/.*",
"examples/*.xml",
"*.pdf",
"*.xml",
"*.zip",
".apihal"
]
include = [
"src",
"tests",
"references",
"examples/use-cases/*.py",
"examples/use-cases/*.py",
"examples/.apihal_example",
"examples/test.json",
"examples/test_comments.json",
"examples/file.pdf",
]
[project.scripts]
pdf2hal = "push2HAL.pdf2hal:start"
json2hal = "push2HAL.json2hal:start"
[tool.hatch.envs.test]
dependencies = [
"pytest",
"pytest-cov",
]
[tool.hatch.envs.test.scripts]
cov = 'pytest tests --cov-report=term-missing --cov-config=pyproject.toml --cov=pkg --cov=tests'
[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]