feat: Release v0.1.1 with standalone Linux binary and improved portable bundling

This commit is contained in:
thePR0M3TH3AN committed 2026-03-13 16:36:02 -04:00
1 parent 838250c588
commit 4046e27e19
5 files changed
+10 -8

No files matched your search

+1
View File
@@ -2,3 +2,4 @@ include voxvera/templates/**
include voxvera/src/**
include voxvera/resources/**
include voxvera/locales/**
include voxvera/resources/bin/**
+2 -2
View File
@@ -10,11 +10,11 @@ include = ["voxvera*"]
include-package-data = true
[tool.setuptools.package-data]
voxvera = ["templates/**", "src/**", "resources/**", "locales/**"]
voxvera = ["templates/**", "src/**", "resources/**", "locales/**", "resources/bin/**"]
[project]
name = "voxvera"
version = "0.1.0"
version = "0.1.1"
description = "VoxVera CLI utilities"
readme = "README.md"
authors = [{name = "VoxVera"}]
+5 -6
View File
@@ -10,7 +10,7 @@ cd "$(dirname "$0")/.."
echo "Checking for PyInstaller..."
if ! command -v pyinstaller &> /dev/null; then
echo "PyInstaller not found. Installing..."
pip install pyinstaller
pip install pyinstaller --break-system-packages
fi
# Clean previous builds
@@ -19,12 +19,11 @@ mkdir -p voxvera/resources/bin
echo "Building VoxVera binary for $(uname)..."
# Use python module to call pyinstaller
PY_CMD="python3 -m PyInstaller"
# Build the binary
# --onefile: Create a single executable
# --add-data: Include non-python resources
# --name: Resulting binary name
# We include locales, src (templates), and the default resources
pyinstaller --onefile \
$PY_CMD --onefile \
--add-data "voxvera/locales:voxvera/locales" \
--add-data "voxvera/src:voxvera/src" \
--add-data "voxvera/templates:voxvera/templates" \
+2
View File
@@ -1,6 +1,8 @@
import sys
from pathlib import Path
__version__ = "0.1.1"
# Add the vendor directory to sys.path so we can run without pip install
vendor_dir = Path(__file__).parent / "vendor"
if vendor_dir.exists():
Binary file not shown.