mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
The vendor directory was unconditionally prepended to sys.path, causing pip/pipx installs to load incomplete vendored setuptools (missing data files like Lorem ipsum.txt) instead of the system package. Now the vendor path is only added for PyInstaller frozen builds, and the force-import block in cli.py is similarly guarded behind sys.frozen. Co-Authored-By: Claude Opus 4.6 <[email protected]>
57 lines
1.1 KiB
TOML
57 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=42", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["voxvera*"]
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.package-data]
|
|
voxvera = ["templates/**", "src/**", "resources/**", "locales/**", "resources/bin/**"]
|
|
|
|
[project]
|
|
name = "voxvera"
|
|
version = "0.2.15"
|
|
description = "VoxVera CLI utilities"
|
|
readme = "README.md"
|
|
authors = [{name = "VoxVera"}]
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"InquirerPy",
|
|
"rich",
|
|
"qrcode[pil]",
|
|
"Pillow",
|
|
"jsmin",
|
|
"htmlmin2",
|
|
"pypdf",
|
|
"wcwidth",
|
|
"onionshare-cli",
|
|
"setuptools",
|
|
"flask<2.3.0",
|
|
"werkzeug<3.0.0",
|
|
]
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest",
|
|
]
|
|
e2e = [
|
|
"pytest",
|
|
"requests[socks]",
|
|
]
|
|
all = [
|
|
"pytest",
|
|
"requests[socks]",
|
|
]
|
|
|
|
[project.scripts]
|
|
voxvera = "voxvera.cli:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = [
|
|
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
|
|
"integration: marks tests as integration tests that require external services",
|
|
]
|