Add full visual c runtime to fix missing dll errors on fresh windows installs

On fresh installs, when no programs have been installed which install
visual c runtime as a dependency, the dlls are not present and brotli fails
to load. Bundle them in releases and make sure brotli sees them by
adding their location to the path (in run.bat)
This commit is contained in:
James Taylor
2020-01-30 18:17:09 -08:00
parent b2a1f4ecfb
commit cf507e2cd1
3 changed files with 33 additions and 21 deletions

View File

@@ -1,4 +1,9 @@
@echo off
REM This is so brotli and gevent search in the python directory for the
REM visual studio c++ runtime dlls
set PATH=.\python;%PATH%
.\python\python.exe -I .\server.py
echo Press any key to quit...
PAUSE > nul