1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00
borg/scripts/win-build.ps1

19 lines
391 B
PowerShell
Raw Normal View History

# Build a wheel and single file executable
# Configure the build environment
& $PSScriptRoot\win-setup-build-env.ps1
# Clean the old build
python setup.py clean
# Build the extension inplace
python setup.py build_ext --inplace
# Run pip install to install install_requires of borg.
pip install -v -e .
# Build the wheel
python setup.py bdist_wheel
pyinstaller -y scripts/borg.exe.spec