feat(workers): Python skeleton + config + structlog
Plan 4 Phase A scaffolding. void-workers package at /workers/, sibling of /lib/. pyproject.toml pins Python 3.12 with separate extras for pdf / image / video / test. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
23
workers/pyproject.toml
Normal file
23
workers/pyproject.toml
Normal file
@@ -0,0 +1,23 @@
|
||||
[project]
|
||||
name = "void-workers"
|
||||
version = "0.1.0"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"psycopg[binary,pool]>=3.2",
|
||||
"structlog>=24.1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
pdf = ["pdfplumber>=0.11", "pytesseract>=0.3.13", "pillow>=10.3"]
|
||||
image = ["pytesseract>=0.3.13", "pillow>=10.3"]
|
||||
video = ["yt-dlp>=2024.10.0", "faster-whisper>=1.0.3"]
|
||||
test = ["pytest>=8.0", "pytest-asyncio>=0.23"]
|
||||
all = ["void-workers[pdf,image,video,test]"]
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=68"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
include = ["void_workers*"]
|
||||
Reference in New Issue
Block a user