summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRayyan Ansari <rayyan@ansari.sh>2022-10-27 16:33:02 +0100
committerRayyan Ansari <rayyan@ansari.sh>2022-10-27 16:33:02 +0100
commit4b27ab2fbd56bfff30048e3ae664809de3f582c8 (patch)
tree2a1a23714fe4cf942657b3c3f10fbf2e9395ac4b /scripts
parent84f4c127521740e2ea7660b019ad0d323bccb3c6 (diff)
Remove old Windows scripts and Appveyor CI [backport]
Diffstat (limited to 'scripts')
-rw-r--r--scripts/win-build.ps118
-rw-r--r--scripts/win-download-openssl.ps115
-rw-r--r--scripts/win-setup-build-env.ps118
3 files changed, 0 insertions, 51 deletions
diff --git a/scripts/win-build.ps1 b/scripts/win-build.ps1
deleted file mode 100644
index 79090c8b4..000000000
--- a/scripts/win-build.ps1
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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
diff --git a/scripts/win-download-openssl.ps1 b/scripts/win-download-openssl.ps1
deleted file mode 100644
index 8040d0d1f..000000000
--- a/scripts/win-download-openssl.ps1
+++ /dev/null
@@ -1,15 +0,0 @@
-# Download and extract the prebuilt openssl libraries provided by the python developers.
-# The file is extracted to the .\external directory.
-
-$url = "https://github.com/python/cpython-bin-deps/archive/openssl-bin-1.1.1c.zip"
-$dest = "external"
-
-$ErrorActionPreference = "Stop"
-
-Write-Output "Downloading OpenSSL from cpython-bin-deps repository ..."
-Invoke-WebRequest $url -OutFile openssl.zip
-
-Write-Output "Extracting OpenSSL"
-Expand-Archive -Path openssl.zip -DestinationPath $dest -Force
-
-Remove-Item -Path openssl.zip
diff --git a/scripts/win-setup-build-env.ps1 b/scripts/win-setup-build-env.ps1
deleted file mode 100644
index 19aaa21df..000000000
--- a/scripts/win-setup-build-env.ps1
+++ /dev/null
@@ -1,18 +0,0 @@
-# Configure the environment such that borg can be built and run.
-# Note that building borg requires OpenSSL which is not available by default.
-# Use the win-download-openssl.ps1 script to get correct OpenSSL version.
-
-$opensslPath = Resolve-Path "$PSScriptRoot\..\external\cpython-bin-deps-openssl-bin-1.1.1c\$env:PROCESSOR_ARCHITECTURE"
-if(!(Test-Path $opensslPath)) {
- Write-Host "OpenSSL not found! Please run win-download-openssl.ps1 and check if your platform is supported."
- exit
-}
-
-$env:BORG_OPENSSL_PREFIX = $opensslPath
-$env:BORG_USE_BUNDLED_B2 = "YES"
-$env:BORG_USE_BUNDLED_LZ4 = "YES"
-$env:BORG_USE_BUNDLED_ZSTD = "YES"
-$env:BORG_USE_BUNDLED_XXHASH = "YES"
-
-Write-Host "Environment configured for borg. The following variables where set:"
-Write-Host ( Get-ChildItem Env: | Where-Object { $_.Name.StartsWith("BORG_") } | Out-String )