Disable portable venv hack

breaks when special characters are in path
This commit is contained in:
drmext 2023-03-31 09:09:03 +00:00
parent c37b2e47be
commit e8507d3e8f
No known key found for this signature in database
GPG Key ID: F1ED48FFE79A6961

View File

@ -3,18 +3,19 @@
cd /d %~dp0
if exist .venv\Lib\site-packages\ujson*.pyd (
(
goto :make_venv_portable
:start_server
.venv\Scripts\activate.bat && python pyeamu.py
)
(
REM goto :make_venv_portable
:start_server
.venv\Scripts\activate.bat && python pyeamu.py
)
) else (
(
python -m venv .venv
.venv\Scripts\activate.bat
pip install -U -r requirements.txt
python pyeamu.py
)
(
:create_venv
python -m venv .venv
.venv\Scripts\activate.bat
pip install -U -r requirements.txt
python pyeamu.py
)
)
echo: