YouTubeDownloader v1.1.2
YouTube content downloader
Loading...
Searching...
No Matches
install_packages.bat
Go to the documentation of this file.
1:: "install_packages.bat"
2:: install python packages
3
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.
9
10@echo off
11
12set ENV_PATH=..\..\.venv
13set PY_PATH=%ENV_PATH%\Scripts\python
14
15if not exist %ENV_PATH% (
16 python -m venv %ENV_PATH%
17)
18%PY_PATH% -m pip install --upgrade --no-cache-dir --requirement requirements.txt --constraint constraints.txt
19
20::pause