forked from codalab/codalab-competitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev_setup.bat
26 lines (18 loc) · 878 Bytes
/
dev_setup.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
@echo off
REM This is the developer setup script for windows.
REM We assume you installed python in C:\Python27
SET PYTHON=C:\Python27
REM Skip following two steps to match docs: https://github.com/codalab/codalab/wiki/Dev:-Getting-Started-on-Windows
REM %PYTHON%\Scripts\easy_install pip
REM %PYTHON%\Scripts\pip install virtualenv
REM Create the virtual environment named venv
%PYTHON%\Scripts\virtualenv --clear venv
REM Activate the virtual environment
CALL venv\Scripts\activate.bat
REM Update pip and distribute in venv
pip install --upgrade distribute
REM Install development requirements
pip install -r codalab\requirements\common.txt
REM If path to pyodbc installer is provided install it and associated dependencies
if exist %1 easy_install %1 && pip install -r codalab\requirements\dev_azure.txt
ECHO "One time setup is complete. You are ready to proceed."