зеркало из https://github.com/SteeltoeOSS/Samples.git
19 строки
282 B
Batchfile
19 строки
282 B
Batchfile
@ECHO OFF
|
|
|
|
SET BASEDIR=%~dp0
|
|
|
|
PUSHD %BASEDIR%
|
|
|
|
IF NOT EXIST pyenv\NUL GOTO NOENVDIR
|
|
ECHO removing existing environment
|
|
RMDIR /S /Q pyenv
|
|
:NOENVDIR
|
|
|
|
virtualenv pyenv
|
|
CALL pyenv\Scripts\activate
|
|
pip install mechanicalsoup
|
|
pip install -r pyenv.pkgs
|
|
CALL pyenv\Scripts\deactivate
|
|
|
|
POPD
|