TRaw commited on
Commit
976e3ea
·
verified ·
1 Parent(s): ebab5d1

Create install_plugin_dependencies.py

Browse files
Files changed (1) hide show
  1. install_plugin_dependencies.py +7 -0
install_plugin_dependencies.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ for root, dirs, files in os.walk('./cat/plugins'):
4
+ for file in files:
5
+ if file == 'requirements.txt':
6
+ req_file = os.path.join(root, file)
7
+ os.system(f'pip install --no-cache-dir -r "{req_file}"')