-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (58 loc) · 2.16 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.bumpversion]
current_version = "0.2.0"
commit = "true"
tag = "true"
tag_name = "v{new_version}"
[project]
name = "grobid-client-python"
license = { file = "LICENSE" }
authors = [
{ name = "Patrice Lopez", email = "patrice.lopez@science-miner.com" },
]
maintainers = [
{ name = "Patrice Lopez", email = "patrice.lopez@science-miner.com" },
{ name = "Luca Foppiano", email = "lucanoro@duck.com" }
]
description = "Simple python client for GROBID REST services"
readme = "Readme.md"
dynamic = ['version', "dependencies"]
[project.optional-dependencies]
# Streaming inputs directly from S3 (s3:// URIs/prefixes). smart_open provides
# a seekable, range-streamed reader so remote zips are never fully downloaded.
s3 = ["smart_open[s3]>=6.0", "boto3"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.setuptools_scm]
[tool.mypy]
# requests/bs4/lxml/dateparser ship varying (or no) type information.
ignore_missing_imports = true
[[tool.mypy.overrides]]
# The TEI converters rely heavily on BeautifulSoup's dynamic element API,
# whose loose typing produces many false positives under mypy. Their runtime
# behavior is covered by the conversion test-suite (tests/test_conversions.py).
module = [
"grobid_client.format.TEI2LossyJSON",
"grobid_client.format.TEI2Markdown",
"grobid_client.format.validate_json_refs",
]
disable_error_code = [
"attr-defined", "union-attr", "arg-type", "assignment", "operator",
"index", "var-annotated", "return-value", "misc", "func-returns-value",
"str-bytes-safe",
]
[tool.setuptools]
packages=['grobid_client', 'grobid_client.format']
license-files = []
[tool.setuptools.package-data]
# Ship the PEP 561 marker so type checkers (e.g. mypy) pick up the inline
# type hints of this package. See issue #71.
grobid_client = ["py.typed"]
[project.urls]
Homepage = "https://github.com/kermitt2/grobid_client_python"
Repository = "https://github.com/kermitt2/grobid_client_python"
Changelog = "https://github.com/kermitt2/grobid_client_python"
[project.scripts]
grobid_client = "grobid_client.grobid_client:main"