Skip to content

Latest commit

 

History

History
83 lines (66 loc) · 2.49 KB

BUILD.md

File metadata and controls

83 lines (66 loc) · 2.49 KB

Table of Contents

Platforms

VAE supports the following platforms:

Operating System Supported Versions Architecture
Windows 11, 10, 8.1, 8 64-bit
Linux Debian 12, Ubuntu 22.04, Fedora 41, Arch Linux, OpenSUSE 64-bit
macOS macOS 15, 14, 13, 12, 11, 10.15 ARM64

Windows 7 is technically supported, but you need PyInstaller 4.10.

Getting the Source Code

Dependencies

You need the following to compile VAE:

Linux Dependencies

For Ubuntu/Debian:

sudo apt install -y python3 python3-pip python3-venv

For Fedora:

sudo dnf install -y python3 python3-pip python3-virtualenv

For Arch:

sudo pacman -Syu --noconfirm python-pip python-virtualenv

For OpenSUSE:

sudo zypper install -y python3 python3-pip python3-virtualenv

Compiling

Windows

In Command Prompt:

cd VAE
py -m venv .venv
.venv/Scripts/activate
pip install -r requirements.txt
pyinstaller --noconfirm --onedir --console --icon "Src/Icon/VAE.ico" --name "VAE" --clean --optimize "2" --version-file "version.txt" --add-data "Src/extract_addons.py;." --add-data "Src/extract_archives.py;." --add-data "Src/utils.py;." --add-data "Src/Bin;Bin/"  "Src/cli.py"
Copy-Item -Path "Src/Bin" -Destination "dist/VAE" -Recurse

Linux/macOS

In Terminal:

cd VAE
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pyinstaller --noconfirm --onedir --console --name "VAE" --strip --clean --optimize "2" --add-data "Src/extract_addons.py:." --add-data "Src/extract_archives.py:." --add-data "Src/utils.py:." --add-data "Src/Bin:Bin/"  "Src/cli.py"
cp -r Src/Bin dist/VAE