From f5e9aea2ac370f72cf158b68b01d17c9000260f0 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 2 Feb 2022 10:39:10 -0500 Subject: [PATCH] [no ci] remove old file --- .github/actions/windows-before-install.sh | 57 ----------------------- 1 file changed, 57 deletions(-) delete mode 100755 .github/actions/windows-before-install.sh diff --git a/.github/actions/windows-before-install.sh b/.github/actions/windows-before-install.sh deleted file mode 100755 index a34ba034..00000000 --- a/.github/actions/windows-before-install.sh +++ /dev/null @@ -1,57 +0,0 @@ -if [[ "$PLATFORM" == "x86_64" ]]; then - export BITS="64" - export PYTHONFILE_BITS="-amd64" - export OPENSSL_BITS="-x64" -elif [[ "$PLATFORM" == "x86" ]]; then - export BITS="32" - export PYTHONFILE_BITS="" - export OPENSSL_BITS="" - export CHOCOPTIONS="--forcex86" -fi -echo "This is a ${BITS}-bit build for ${PLATFORM}" - -export mypath=$(pwd) -cd ~ - -export python="c:\python\python.exe" -export pip="c:\python\scripts\pip.exe" - -# pyscard needs swig, keep these two together -choco install $CHOCOPTIONS swig -$pip install pyscard - -# Python -#echo "Installing Python..." -#export python_file=python-${BUILD_PYTHON_VERSION}${PYTHONFILE_BITS}.exe -#if [ ! -e $python_file ]; then -# echo "Downloading $python_file..." -# curl -O https://www.python.org/ftp/python/$BUILD_PYTHON_VERSION/$python_file -#fi -#until ./${python_file} /quiet InstallAllUsers=1 TargetDir=c:\\python; do echo "trying python again..."; done -#export python=/c/python/python.exe -#export pip=/c/python/scripts/pip.exe -#until [ -f $python ]; do sleep 1; done -#export PATH=$PATH:/c/python/scripts - -# OpenSSL -#echo "Installing OpenSSL..." -#export exefile=Win${BITS}OpenSSL_Light-${BUILD_OPENSSL_VERSION//./_}.exe -#if [ ! -e $exefile ]; then -# echo "Downloading $exefile..." -# curl -O https://slproweb.com/download/$exefile -#fi -#until ./${exefile} /silent /sp- /suppressmsgboxes /DIR=C:\\ssl; do echo "trying openssl again..."; done -#until cp -v /c/ssl/libcrypto-1_1${OPENSSL_BITS}.dll /c/python/DLLs/; do echo "trying libcrypto copy again..."; sleep 3; done -#until cp -v /c/ssl/libssl-1_1${OPENSSL_BITS}.dll /c/python/DLLs/; do echo "trying libssl copy again..."; done -#if [[ "$PLATFORM" == "x86_64" ]]; then -# cp -v /c/python/DLLs/libssl-1_1-x64.dll /c/python/DLLs/libssl-1_1.dll -# cp -v /c/python/DLLs/libcrypto-1_1-x64.dll /c/python/DLLs/libcrypto-1_1.dll -#fi - -cd "$mypath" - -echo "PATH: $PATH" -cd .. -$python setup.py install -echo "cd to $mypath" -cd "$mypath"