diff --git a/install_windows.bat b/install_windows.bat new file mode 100644 index 00000000..c2bfb394 --- /dev/null +++ b/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 diff --git a/windows/wget.js b/windows/wget.js new file mode 100644 index 00000000..5d1e9ad7 --- /dev/null +++ b/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); \ No newline at end of file