-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
54 lines (44 loc) · 1.3 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "sosse"
authors = [{ name = "Laurent Defert", email = "[email protected]" }]
readme = "README.md"
description = "Selenium Open Source Search Engine"
requires-python = ">=3.9"
keywords = ["search engine", "crawler"]
license = { text = "GNU Affero General Public License v3" }
classifiers = ["Framework :: Django", "Programming Language :: Python :: 3"]
dynamic = ["version", "dependencies"]
[tool.setuptools]
packages = [
"se",
"se.deps.linkpreview",
"se.deps.linkpreview.linkpreview",
"se.deps.linkpreview.linkpreview.preview",
"se.deps.fake-useragent",
"se.deps.fake-useragent.src",
"se.deps.fake-useragent.src.fake_useragent",
"se.migrations",
"se.management",
"se.management.commands",
"sosse",
]
[tool.setuptools.package-data]
se = ["*.html", "*.svg", "*.js", "*.css", "*.json"]
[tool.setuptools.dynamic]
version = { attr = "sosse.settings.SOSSE_VERSION_TAG" }
dependencies = { file = ["requirements.txt"] }
[tool.autopep8]
max_line_length = 1000
[tool.ruff]
line-length = 120
[tool.doc8]
# Ignore include failure since we include generated files
ignore = ["D000"]
max-line-length = 120
[tool.isort]
profile = "black"
[project.scripts]
sosse-admin = "sosse.sosse_admin:main"