aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-05-30 00:34:34 -0500
committerAstounds <kirito@disroot.org>2026-05-30 00:34:34 -0500
commit4e54a34d87056067c0110c00282f6a3248dc5f6f (patch)
treed85617414cb083447523238803ba88146a0dc543 /pyproject.toml
parented2af5e3d7a3fcd5a1f383003b6723f5d419f634 (diff)
downloadyt-local-4e54a34d87056067c0110c00282f6a3248dc5f6f.tar.lz
yt-local-4e54a34d87056067c0110c00282f6a3248dc5f6f.tar.xz
yt-local-4e54a34d87056067c0110c00282f6a3248dc5f6f.zip
feat: update README and HACKING, lock deps via pip-compile in DockerHEADmaster
Use pip-compile --generate-hashes in the Docker build stage so that the runtime stage installs pinned dependencies with verified integrity, ensuring fully reproducible container builds. - Add Docker section to README - Fix Python badge (3.7+ → 3.11+) and outdated docs links - Upgrade pip, setuptools, and wheel in Dockerfile to fix grype findings
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml32
1 files changed, 32 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..c98f37e
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,32 @@
+[build-system]
+requires = ["setuptools>=64", "wheel"]
+build-backend = "setuptools.backends._legacy:_Backend"
+
+[project]
+name = "yt-local"
+description = "Privacy-focused, browser-based YouTube client with Tor support"
+readme = "README.md"
+requires-python = ">=3.11"
+license = { text = "AGPL-3.0-only" }
+authors = [
+ { name = "heckyel", email = "heckyel@riseup.net" },
+]
+dependencies = [
+ "flask>=1.0.3",
+ "flask-babel>=4.0.0",
+ "babel>=2.12.0",
+ "gevent>=1.2.2",
+ "brotli>=1.0.7",
+ "pysocks>=1.6.8",
+ "urllib3>=1.24.1",
+ "defusedxml>=0.5.0",
+ "cachetools>=4.0.0",
+ "stem>=1.8.0",
+ "requests>=2.25.0",
+]
+
+[project.optional-dependencies]
+dev = ["pytest>=6.2.1"]
+
+[tool.pip-tools]
+generate-hashes = true