forked from roam-qgis/Roam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setupdev.bat
31 lines (24 loc) · 944 Bytes
/
setupdev.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@ECHO OFF
REM ---------------------------------------------------------------------------------------
REM Script to install the needed dev tools into the Python install that comes with OSGeo4W
REM Change %OSGEO4W_ROOT% in setenv.bat to change in the install folder.
REM ---------------------------------------------------------------------------------------
IF NOT EXIST "%VS90COMNTOOLS%" GOTO NOVS
pushd %~dp0
CALL scripts\setenv.bat
CALL %OSGEO4W_ROOT%\bin\o4w_env.bat
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -k | python
%OSGEO4W_ROOT%\apps\Python27\Scripts\easy_install.exe pip
pip install -r requirements.txt
curl "http://waix.dl.sourceforge.net/project/py2exe/py2exe/0.6.9/py2exe-0.6.9.zip" > py2exe.zip
unzip -o py2exe.zip
pushd py2exe-0.6.9
python setup.py install
popd
GOTO END
:NOVS
ECHO You don't seem to have Visual Studio C++ 2008 installed.
ECHO We need that to build py2exe
GOTO END
:END
pause