[gtk-builder-win] Automatically download python 2.7
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-builder-win] Automatically download python 2.7
- Date: Mon, 14 Jul 2014 18:55:19 +0000 (UTC)
commit da8370c9390ee0e1505638200a5ec80200605954
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Jul 14 20:54:57 2014 +0200
Automatically download python 2.7
win32/z_Install/Tools/WGET.EXE | Bin 0 -> 349184 bytes
win32/z_Install/Tools/python-2.5.4.msi | Bin 11323392 -> 0 bytes
win32/z_Install/setup.bat | 8 ++++++--
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/win32/z_Install/Tools/WGET.EXE b/win32/z_Install/Tools/WGET.EXE
new file mode 100644
index 0000000..fd5f557
Binary files /dev/null and b/win32/z_Install/Tools/WGET.EXE differ
diff --git a/win32/z_Install/setup.bat b/win32/z_Install/setup.bat
index bfd313c..8eac2c0 100644
--- a/win32/z_Install/setup.bat
+++ b/win32/z_Install/setup.bat
@@ -12,7 +12,11 @@ del /q *.tar
cd ..
rem Install python
-Tools\python-2.5.4.msi
+cd Tools
+WGET.exe https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
+python-2.7.8.msi
+xcopy python2.7-config c:\Python27
+cd ..
rem Install all the required packages
cd %MINGWDIR%\bin
@@ -49,7 +53,7 @@ mkdir %MINGWDIR%\msys\1.0\%PREFIX%\lib\pkgconfig
mkdir %MINGWDIR%\msys\1.0\%PREFIX%\share
-echo export PATH="$PATH:/%PREFIX%/bin:/c/Python25" >> %MINGWDIR%\msys\1.0\etc\profile
+echo export PATH="$PATH:/%PREFIX%/bin:/c/Python27" >> %MINGWDIR%\msys\1.0\etc\profile
echo export CFLAGS="-I/%PREFIX%/include" >> %MINGWDIR%\msys\1.0\etc\profile
echo export CPPFLAGS="-I/%PREFIX%/include" >> %MINGWDIR%\msys\1.0\etc\profile
echo export LDFLAGS="-L/%PREFIX%/lib" >> %MINGWDIR%\msys\1.0\etc\profile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]