-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
pyproject.toml
74 lines (63 loc) · 2 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
[build-system]
requires = ["setuptools>=61", "setuptools-git-versioning>=1.8"]
build-backend = "setuptools.build_meta:__legacy__"
[project]
name = "snekbox"
description = "HTTP REST API for sandboxed execution of arbitrary Python code."
readme = "README.md"
license = {text = "MIT"}
authors = [{name = "Python Discord", email = "[email protected]"}]
keywords = ["sandbox", "nsjail", "HTTP REST API"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Security",
"Topic :: Software Development :: Interpreters",
]
dynamic = ["version"]
requires-python = ">=3.11"
dependencies = [
"falcon>=3.0.1",
"jsonschema>=4.0",
"protobuf>=3.19",
]
[project.optional-dependencies]
gunicorn = ["gunicorn>=20.1"] # Lowest which supports wsgi_app in config.
sentry = ["sentry-sdk[falcon]>=1.16.0"] # Minimum of 1.16.0 required for Falcon 3.0 support (getsentry/sentry-python#1733)
[project.urls]
source = "https://github.com/python-discord/snekbox"
tracker = "https://github.com/python-discord/snekbox/issues"
[project.scripts]
snekbox = "snekbox.__main__:main"
[tool.setuptools.packages.find]
include = ["snekbox*"]
[tool.setuptools-git-versioning]
enabled = true
version_callback = "scripts.version:get_version"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if DEBUG"
]
[tool.coverage.run]
branch = true
data_file = "${COVERAGE_DATAFILE-.coverage}"
include = ["snekbox/*"]
omit = ["snekbox/config_pb2.py"]
relative_files = true
[tool.black]
line-length = 100
target-version = ["py311"]
force-exclude = "snekbox/config_pb2.py"
[tool.isort]
line_length = 100
profile = "black"
skip_gitignore = true
src_paths = ["snekbox"]
extend_skip = ["snekbox/config_pb2.py"]