mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 08:08:23 +00:00
Merge pull request #761 from saurabh6790/fix_requirements_installation
fix: pull app list from sites/apps.txt
This commit is contained in:
commit
5ab2da3d39
@ -429,8 +429,9 @@ def update_requirements(bench_path='.'):
|
|||||||
bench_req_file = os.path.join(os.path.dirname(bench.__path__[0]), 'requirements.txt')
|
bench_req_file = os.path.join(os.path.dirname(bench.__path__[0]), 'requirements.txt')
|
||||||
install_requirements(pip, bench_req_file)
|
install_requirements(pip, bench_req_file)
|
||||||
|
|
||||||
from .app import install_app
|
from bench.app import get_apps, install_app
|
||||||
for app in os.listdir(apps_dir):
|
|
||||||
|
for app in get_apps():
|
||||||
install_app(app, bench_path=bench_path)
|
install_app(app, bench_path=bench_path)
|
||||||
|
|
||||||
def update_node_packages(bench_path='.'):
|
def update_node_packages(bench_path='.'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user