This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
testexetrisathlon/DownloadDataDepsInstall.py

8 lines
257 B
Python
Raw Normal View History

import pkg_resources
from subprocess import call
packages = [dist.project_name for dist in pkg_resources.working_set]
if not "youtube-dl" in packages:
2020-06-20 14:17:13 +02:00
packages = ["youtube-dl"] + packages
call("pip install --upgrade " + ' '.join(packages), shell=True)