2015-03-14 01:33:21 +00:00
|
|
|
@echo off
|
2016-02-15 14:43:59 +00:00
|
|
|
set VENV=.\venv
|
2015-03-14 01:33:21 +00:00
|
|
|
|
2015-08-07 12:45:48 +00:00
|
|
|
virtualenv %VENV% --always-copy
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2015-03-14 01:33:21 +00:00
|
|
|
call %VENV%\Scripts\activate.bat
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2016-06-25 09:27:58 +00:00
|
|
|
python -m pip install --disable-pip-version-check -U pip
|
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2016-02-15 17:12:12 +00:00
|
|
|
pip install -r requirements.txt
|
2015-04-13 15:17:18 +00:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2015-03-14 02:08:34 +00:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo * Created virtualenv environment in %VENV%.
|
|
|
|
echo * Installed all dependencies into the virtualenv.
|
2015-06-24 01:17:57 +00:00
|
|
|
echo * Activated virtualenv environment.
|