1:: "install_packages.bat"
2:: install python packages
4:: -r, --requirement <file> Install from the given requirements file.
5:: -c, --constraint <file> Constrain versions using the given constraints file
6:: -U, --upgrade Upgrade all specified packages to the newest available version
7:: --no-cache-dir Disable the cache.
8:: --use-deprecated Enable deprecated functionality, that will be removed in the future.
12set ENV_PATH=..\..\.venv
13set PY_PATH=%ENV_PATH%\Scripts\python
15if not exist %ENV_PATH% (
16 python -m venv %ENV_PATH%
18%PY_PATH% -m pip install --upgrade --no-cache-dir --requirement requirements.txt --constraint constraints.txt