mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2026-10-27 09:40:40 +00:00
- Separated internal ROOT from persistent DATA_DIR to prevent user sites from being saved to the volatile PyInstaller _MEIPASS temp directory. - Updated unit tests to correctly mock DATA_DIR and ensure complete isolation between tests. - Fixed binaries.yml and requirements.txt to correctly bundle the pinned Flask/Werkzeug versions, preventing onionshare-cli import failures in the standalone binary.
56 lines
1.1 KiB
TOML
56 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.8"
|
|
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",
|
|
"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",
|
|
]
|