-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
86 lines (76 loc) · 2.17 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "levior"
authors = [{name = "cipres", email = "alkaline@gmx.co.uk"}]
license = {text = "MIT"}
description = "Web to Gemini proxy"
keywords = ["proxy", "gateway", "gemini"]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
urls = {Homepage = "https://gitlab.com/cipres/levior"}
dependencies = [
"aiogemini @ git+https://gitlab.com/cipres/aiogemini.git@master",
"aiohttp>=3.8.1",
"aiohttp-socks>=0.6.0",
"appdirs==1.4.4",
"daemonize==2.5.0",
"diskcache>=5.4.0",
"feedparser>=6.0.10",
"IPy==1.1",
"yarl>=1.7.2",
"markdownify>=0.11.2",
"md2gemini @ git+https://github.com/pinnaculum/md2gemini", # egg=md2gemini
"multidict<5.0,>=4.5",
"omegaconf==2.3.0",
"omegaconf-argparse==1.0.1",
"Routes==2.5.1",
"trimgmi==0.3.0",
"python-dateutil>=2.8.0",
"random-user-agent==1.0.1",
"rdflib>=7.0.0",
"berkeleydb>=18.1.8"
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
uvloop = ["uvloop>=0.16.0"]
zim = ["libzim>=1.1.1"]
js = ["requests-html @ git+https://gitlab.com/cipres/requests-html"] # egg=requests-html
test = ["pytest", "pytest-asyncio", "pytest-cov", "freezegun"]
[project.scripts]
levior = "levior.entrypoint:run"
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
exclude = ["tests"] # tests.*
namespaces = false
[tool.setuptools.package-data]
levior = [
"*.crt",
"*.key",
]
"levior.configs" = ["*.yaml"]
"levior.configs.sites" = ["*.yaml"]
[tool.setuptools.dynamic]
version = {attr = "levior.__version__"}
[tool.coverage.run]
omit = [
"levior/filters/*.py"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-s -v"