aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2022-05-30 14:34:17 -0700
committerGravatar MarkKoz <[email protected]>2022-05-30 14:34:17 -0700
commit063ed5585ba13e4629cf783f4fbe6a5a360744c1 (patch)
tree03b6d2b83d57d87222fdbedcdf8d67658fedb68a /pyproject.toml
parentMerge #139 - use pip-tools instead of Pipenv (diff)
Add a pyproject.toml
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml44
1 files changed, 44 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..da921bb
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,44 @@
+[build-system]
+requires = ["setuptools>=61"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "snekbox"
+version = "1.0.0"
+description = "HTTP REST API for sanboxed 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.10",
+ "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
+ "Topic :: Security",
+ "Topic :: Software Development :: Interpreters",
+]
+
+requires-python = ">=3.10"
+dependencies = [
+ # Sentry's Falcon integration relies on api_helpers (falconry/falcon#1902).
+ "falcon>=3.0.1",
+ "gunicorn>=20",
+ "jsonschema>=4.0",
+ "protobuf>=3.19",
+ "sentry-sdk[falcon]>=1.5.4"
+]
+
+[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 = ["snekbox"]