From db42053e2ccf35d5ad492279d29f5122307753aa Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Tue, 9 Oct 2018 14:29:18 -0400 Subject: [PATCH] scripts: Add windows-build-tarball.ps1 --- scripts/windows-build-tarball.ps1 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/windows-build-tarball.ps1 diff --git a/scripts/windows-build-tarball.ps1 b/scripts/windows-build-tarball.ps1 new file mode 100644 index 0000000..f2c6ed7 --- /dev/null +++ b/scripts/windows-build-tarball.ps1 @@ -0,0 +1,13 @@ +# This script creates an archive of the VTK Python package build tree. It is +# downloaded by the external module build scripts and used to build their +# Python package on GitHub CI services. +# +# It is designed to be executed on the overload.kitware.com build system, and +# it requires 7-Zip to installed at C:\7-Zip. The VTKPythonPackage +# repository needs to be checked out at C:\P\VPP. It is invoked after running the +# scripts/windows_build_wheels.py script. + + +cd C:\P\ +Remove-Item VPP\dist\* +C:\7-Zip\7z.exe a -r 'C:\P\VTKPythonBuilds-windows.zip' -w 'C:\P\VPP' -mem=AES256