summaryrefslogtreecommitdiffstats
path: root/build/msvc/build_release.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build/msvc/build_release.bat')
-rw-r--r--build/msvc/build_release.bat18
1 files changed, 9 insertions, 9 deletions
diff --git a/build/msvc/build_release.bat b/build/msvc/build_release.bat
index a469678..c8228f0 100644
--- a/build/msvc/build_release.bat
+++ b/build/msvc/build_release.bat
@@ -14,7 +14,7 @@ cd release
mkdir src
mkdir matlab
mkdir python27
-mkdir python35
+mkdir python36
cd src
git clone -b %B_RELEASE_TAG% https://github.com/astra-toolbox/astra-toolbox astra-%B_RELEASE%
@@ -56,7 +56,7 @@ copy %R%\COPYING COPYING.txt
copy %B_VCREDIST% .
mkdir astra
-call "%B_WINPYTHON27%\scripts\env.bat"
+call "%B_WINPYTHON2%\scripts\env.bat"
copy %WINPYDIR%\lib\site-packages\astra\*.* astra
copy %R%\bin\x64\Release_CUDA\AstraCuda64.lib astra
copy "%CUDA_PATH%\bin\cudart64_80.dll" astra
@@ -77,11 +77,11 @@ echo.
echo.
echo This directory contains pre-built Python modules for the ASTRA Toolbox.
echo.
-echo It has been built with WinPython-64bit-%B_WP27%.
+echo It has been built with WinPython-64bit-%B_WP2%.
echo.
echo To use it, move the astra\ directory to your existing site-packages directory.
echo Its exact location depends on your Python installation, but should look
-echo similar to %B_README_WP27% .
+echo similar to %B_README_WP2% .
echo.
echo Sample code can be found in the samples\ directory.
) > README.txt
@@ -90,7 +90,7 @@ pause
rem -------------------------------------------------------------------
-cd %R%\release\python35
+cd %R%\release\python36
mkdir astra-%B_RELEASE%
cd astra-%B_RELEASE%
xcopy /e /i %R%\samples\python samples
@@ -100,7 +100,7 @@ copy %R%\COPYING COPYING.txt
copy %B_VCREDIST% .
mkdir astra
-call "%B_WINPYTHON35%\scripts\env.bat"
+call "%B_WINPYTHON3%\scripts\env.bat"
copy %WINPYDIR%\lib\site-packages\astra\*.* astra
copy %R%\bin\x64\Release_CUDA\AstraCuda64.lib astra
copy "%CUDA_PATH%\bin\cudart64_80.dll" astra
@@ -121,11 +121,11 @@ echo.
echo.
echo This directory contains pre-built Python modules for the ASTRA Toolbox.
echo.
-echo It has been built with WinPython-64bit-%B_WP35%.
+echo It has been built with WinPython-64bit-%B_WP3%.
echo.
echo To use it, move the astra\ directory to your existing site-packages directory.
echo Its exact location depends on your Python installation, but should look
-echo similar to %B_README_WP35% .
+echo similar to %B_README_WP3% .
echo.
echo Sample code can be found in the samples\ directory.
) > README.txt
@@ -135,7 +135,7 @@ pause
cd %R%\release
python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-matlab-win-x64', 'zip', 'matlab')"
python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python27-win-x64', 'zip', 'python27')"
-python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python35-win-x64', 'zip', 'python35')"
+python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%-python36-win-x64', 'zip', 'python36')"
python -c "import shutil; shutil.make_archive('astra-%B_RELEASE%', 'zip', 'src')"
pause