Browse Source

Script d'installation pour windows

pull/55/head
Luthaf 11 years ago
parent
commit
a52b5bab89
  1. 11
      install_windows.bat
  2. 4
      windows/wget.js

11
install_windows.bat

@ -0,0 +1,11 @@
setx path "%path%;C:\Python27;C:\Python27\Scripts;"
setx pathext "%pathext%;.py"
cscript /nologo windows/wget.js https://raw.github.com/pypa/pip/master/contrib/get-pip.py > get-pip.py
C:\Python27\Python.exe get-pip.py
C:\Python27\Scripts\pip install -r Requirements.txt
C:\Python27\Python.exe setup.py install

4
windows/wget.js

@ -0,0 +1,4 @@
var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");
WinHttpReq.Open("GET", WScript.Arguments(0), /*async=*/false);
WinHttpReq.Send();
WScript.Echo(WinHttpReq.ResponseText);
Loading…
Cancel
Save