moin / quickinstall.bat

echo off
echo This is the windows version of the "quickinstall" file.
echo It requires the stand-alone wget.exe from
echo and 7za.exe from
echo wget.exe and 7za.exe must be installed in the system path or this directory.

echo Creating a virtual environment in directory env/ ...
virtualenv --no-site-packages env

echo Activating virtual environment ...
call env\Scripts\activate.bat

echo Getting some 3rd party stuff and unpack them into env/, where the default
echo expects them (should be replaced by packaging) ...

wget -nc -Penv/
7za x env/svg-edit.tar.gz -y -oenv\
7za x env/svg-edit.tar -y -oenv\

del /q env\*.tar

echo Installing babel first ...
pip install babel

echo Installing XStatic first ...
pip install XStatic

echo Installing all required python packages from pypi ...
pip install -e .

echo Compiling translations (not required if wiki is English only) ...
python compile_catalog --statistics