-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (80 loc) · 2.7 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (80 loc) · 2.7 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
89
90
[build-system]
requires = ["setuptools>=77.0.3", "cffi>=1.15.1"]
build-backend = "setuptools.build_meta"
[project]
name = "reynir"
version = "3.8.0"
description = "A natural language parser for Icelandic"
authors = [{ name = "Miðeind ehf.", email = "mideind@mideind.is" }]
maintainers = [{ name = "Miðeind ehf.", email = "mideind@mideind.is" }]
readme = { file = "README.md", content-type = "text/markdown" }
license = "MIT"
license-files = ["LICENSE.txt"]
keywords = ["nlp", "parser", "icelandic"]
classifiers = [
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Natural Language :: Icelandic",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: Text Processing :: Linguistic",
]
requires-python = ">=3.10"
dependencies = [
"cffi>=1.17.1",
"tokenizer>=3.6.3",
"islenska>=1.3.2",
"filelock>=3.9.0",
"typing_extensions",
]
[project.urls]
Repository = "https://github.com/mideind/GreynirEngine"
Homepage = "https://greynir.is"
Documentation = "https://greynir.is/doc/"
Issues = "https://github.com/mideind/GreynirEngine/issues"
[dependency-groups]
# Development dependencies: uv installs these automatically with 'uv sync';
# with pip (>=25.1), use 'pip install --group dev'.
# mypy is excluded on PyPy, where its native dependencies don't build.
dev = [
"pytest",
"ruff",
"mypy; implementation_name != 'pypy'",
"types-cffi",
"setuptools",
]
# *** Configuration of tools ***
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
reynir = ["py.typed"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
#lint.select = ["ALL"] # We use default rules for now
# extend-select = ["E501"] # Complain about line length
# Ignore specific rules
# (we should aim to have these as few as possible)
ignore = [
"E731", # 'E731: Do not assign a lambda expression, use a def'
]
[tool.mypy]
python_version = "3.10"
exclude = ['doc/conf\.py']