forked from NationalLibraryOfNorway/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
39 lines (32 loc) · 932 Bytes
/
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "metadata_extract"
version = "1.0.0"
classifiers = [
"License :: OSI Approved :: Apache Software License"
]
license = {text = "Apache-2.0"}
dependencies = [
"pymupdf==1.21.1",
"python-dateutil==2.8.1",
"dateparser==1.1.6",
"regex==2023.5.5",
"langdetect==1.0.9"
]
[tool.setuptools.packages.find]
where = ["."]
include = ["metadata_extract", "metadata_extract.data.txt"]
[tool.setuptools.package-data]
"metadata_extract.data.txt" = ["*.json"]
[tool.flake8]
max-line-length = 100
exclude = ["static", "templates", "__pycache__", "venv", "build"]
[tool.pylint.'MESSAGES CONTROL']
disable = "missing-function-docstring,fixme,too-few-public-methods"
[tool.mypy]
strict = "True"
[[tool.mypy.overrides]]
module = [ "langdetect.*", "fitz", "decouple", "deepdiff", "gielladetect" ]
ignore_missing_imports = true