SamAuthenticator/pip-install.bat

6 lines
215 B
Batchfile

@echo off
python -c "import SamAuthenticator.Meta;print(SamAuthenticator.Meta.__version__)" > ver.txt
set /p VER=<ver.txt
call pip install dist\samauth-%VER%-py2.py3-none-any.whl --upgrade --verbose
call rm ver.txt