/
pyproject.toml
165 lines (150 loc) · 3.97 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pyCEURmake"
authors = [
{name = "Tim Holzheim", email = "tim.holzheim@rwth-aachen.de"},
{name = "Wolfgang Fahl", email = "wf@bitplan.com"}
]
maintainers = [
{ name = "Wolfgang Fahl", email = "wf@bitplan.com" },
{ name = "Tim Holzheim", email = "tim.holzheim@rwth-aachen.de" },
]
readme = "README.md"
license= "Apache-2.0"
dependencies = [
# https://pypi.org/project/fastapi/
# pin fastapi, httpcore and starlette as long as we use justpy
# 'fastapi==0.95.0',
# 'starlette==0.26.1',
# 'httpcore==0.15.0',
# https://pypi.org/project/geograpy3/
'geograpy3>=0.2.7',
#https://github.com/martinblech/xmltodict
'xmltodict>=0.13.0',
# https://pypi.org/project/pylodstorage/
'pylodstorage>=0.11.4',
# https://github.com/pyparsing/pyparsing
'pyparsing>=3.0.9',
# https://pypi.org/project/beautifulsoup4/
'BeautifulSoup4>=4.11.2',
# https://pypi.org/project/lxml/
'lxml>=5.2.0',
'lxml_html_clean',
# https://pypi.org/project/pyGenericSpreadSheet/
#'pyGenericSpreadSheet>=0.2.4',
# https://pypi.org/project/py-ez-wikidata/
'py-ez-wikidata>=0.1.5',
# https://pypi.org/project/py-3rdparty-mediawiki/
'py-3rdparty-mediawiki>=0.9.3',
# https://github.com/tqdm/tqdm
'tqdm',
# https://pypi.org/project/neo4j/
'neo4j',
# https://github.com/WolfgangFahl/nicegui_widgets
'ngwidgets>=0.12.5',
# https://pypi.org/project/sqlmodel/
'sqlmodel>=0.0.16',
# https://pypi.org/project/wdgrid/
'wdgrid>=0.1.0',
"requests"
]
requires-python = ">=3.9"
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License"
]
dynamic = ["version", "description"]
[tool.hatch.version]
path = "ceurws/__init__.py"
[project.urls]
Home = "https://github.com/WolfgangFahl/py-sidif"
Documentation = "https://wiki.bitplan.com/index.php/Py-sidif"
Source = "https://github.com/WolfgangFahl/py-sidif"
[project.optional-dependencies]
test = [
"tox",
"pytest",
"pytest-cov",
"ruff"
]
[tool.hatch.build.targets.wheel]
packages = [
"ceurws",
]
[project.scripts]
ceur-ws = "ceurws.ceur_ws_web_cmd:main"
[tool.ruff]
# Set the maximum line length to 79.
line-length = 120
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
# if-else-block-instead-of-if-exp
"SIM108"
]
# Allow fix for all enabled rules (when `--fix`) is provided.
#fixable = ["ALL"]
[tool.ruff.format]
# Like Black, automatically detect the appropriate line ending
line-ending = "auto"
[tool.tox]
legacy_tox_ini = """
[tox]
env_list = lint, type, py{310,311,312}
minversion = 4.12.1
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
allowlist_externals = scripts/*
deps =
pytest>=6
pytest-cov
httpx
commands =
scripts/getVolumes
pytest --cov --cov-append {tty:--color=yes} {posargs}
[testenv:lint]
description = run linters
skip_install = true
deps =
ruff
commands =
ruff check
# [testenv:type]
# description = run type checks
# deps =
# mypy>=0.991
# commands =
# mypy {posargs:ceurws tests}
"""
[[tool.mypy.overrides]]
module = "yaml,dateutil.parser"
ignore_missing_imports = true
follow-imports = "skip"
strict-optional = true