ccat / install_plugin_dependencies.py
TRaw's picture
Create install_plugin_dependencies.py
976e3ea verified
raw
history blame contribute delete
240 Bytes
import os
for root, dirs, files in os.walk('./cat/plugins'):
for file in files:
if file == 'requirements.txt':
req_file = os.path.join(root, file)
os.system(f'pip install --no-cache-dir -r "{req_file}"')