diff --git a/install.sh b/install.sh index 31306ce..92e1ffd 100755 --- a/install.sh +++ b/install.sh @@ -156,6 +156,9 @@ fi if command_exists pipx; then msg "Falling back to pipx installation (this may take a few minutes)..." if pipx install --force 'voxvera@git+https://github.com/PR0M3TH3AN/VoxVera.git@main'; then + # Ensure setuptools (pkg_resources) is available in the venv — pipx can + # sometimes skip it if the resolver thinks the build-system copy suffices. + pipx inject voxvera setuptools 2>/dev/null || true pipx ensurepath --force msg "\nVoxVera installed/updated successfully via pipx." msg "IMPORTANT: Please restart your terminal or run 'source ~/.bashrc' (or your shell config) to use 'voxvera'." diff --git a/pyproject.toml b/pyproject.toml index 5039176..5b48a1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ voxvera = ["templates/**", "src/**", "resources/**", "locales/**", "resources/bi [project] name = "voxvera" -version = "0.2.13" +version = "0.2.14" description = "VoxVera CLI utilities" readme = "README.md" authors = [{name = "VoxVera"}] @@ -29,6 +29,7 @@ dependencies = [ "pypdf", "wcwidth", "onionshare-cli", + "setuptools", "flask<2.3.0", "werkzeug<3.0.0", ]