File size: 240 Bytes
976e3ea
 
 
 
 
 
 
1
2
3
4
5
6
7
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}"')