mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Add comment about dependances
This commit is contained in:
parent
e01859ffc4
commit
5c6b4118b7
1 changed files with 6 additions and 0 deletions
|
@ -156,6 +156,9 @@ def app_info(app, full=False):
|
|||
|
||||
|
||||
def _app_upgradable(app_infos):
|
||||
# python-pkg-resources contains the packaging module
|
||||
# yunohost depends of python-jinja2 and python-jinja2 depends of python-pkg-resources
|
||||
# so packaging module should be available on all yunohost instances
|
||||
from packaging import version
|
||||
|
||||
# Determine upgradability
|
||||
|
@ -434,6 +437,9 @@ def app_upgrade(app=[], url=None, file=None, force=False):
|
|||
url -- Git url to fetch for upgrade
|
||||
|
||||
"""
|
||||
# python-pkg-resources contains the packaging module
|
||||
# yunohost depends of python-jinja2 and python-jinja2 depends of python-pkg-resources
|
||||
# so packaging module should be available on all yunohost instances
|
||||
from packaging import version
|
||||
from yunohost.hook import hook_add, hook_remove, hook_exec, hook_callback
|
||||
from yunohost.permission import permission_sync_to_user
|
||||
|
|
Loading…
Add table
Reference in a new issue