Package list logbook / 7e41e78b-d633-4bb2-9787-9589652ceae7/main .appveyor / prepare.bat
7e41e78b-d633-4bb2-9787-9589652ceae7/main

Tree @7e41e78b-d633-4bb2-9787-9589652ceae7/main (Download .tar.gz)

prepare.bat @7e41e78b-d633-4bb2-9787-9589652ceae7/mainraw · history · blame

pip install -U wheel setuptools || goto :error
nuget install redis-64 -excludeversion || goto :error
redis-64\tools\redis-server.exe --service-install || goto :error
redis-64\tools\redis-server.exe --service-start || goto :error
IF NOT DEFINED SKIPZMQ (
	nuget install ZeroMQ || goto :error
)
IF DEFINED CYBUILD (
	%BUILD% pip install cython twine || goto :error
	cython logbook\_speedups.pyx || goto :error
) ELSE (
	set DISABLE_LOGBOOK_CEXT=True
)
IF DEFINED SKIPZMQ (
	%BUILD% pip install -e .[dev,execnet,jinja,sqlalchemy,redis] || goto :error
) ELSE (
	%BUILD% pip install -e .[all] || goto :error
)
REM pypiwin32 can fail, ignore error.
%BUILD% pip install pypiwin32
exit /b 0

:error
exit /b %errorlevel%