2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

Merge pull request #948 from gavindsouza/update-requirements-fix

fix: setup requirements --python skips assets
This commit is contained in:
Suraj Shetty 2020-03-04 14:52:22 +05:30 committed by GitHub
commit 189d0c7d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,14 +596,14 @@ def update_requirements(bench_path='.'):
from bench.app import get_apps, install_app from bench.app import get_apps, install_app
print('Updating Python libraries...') print('Updating Python libraries...')
# update env pip
update_env_pip(bench_path)
# Update bench requirements (at user level) # Update bench requirements (at user level)
update_bench_requirements() update_bench_requirements()
# update env pip
update_env_pip(bench_path)
for app in get_apps(): for app in get_apps():
install_app(app, bench_path=bench_path) install_app(app, bench_path=bench_path, skip_assets=True)
def update_node_packages(bench_path='.'): def update_node_packages(bench_path='.'):