Пример #1
0
def upgrade():
    if _pmap:
        raise RuntimeError
    autoupgrade.upgrade(__package_name__, dependencies=True, restart=True)
Пример #2
0
 def update(self):
     autoupgrade.upgrade(__setup_map['name'],
                         dependencies=True,
                         restart=True)
Пример #3
0
def upgrade(dependencies=True, force=False, prerelease=False):
    autoupgrade.upgrade(_info['name'],
                        dependencies,
                        prerelease,
                        force,
                        restart=True)
Пример #4
0
 def update(self):
     autoupgrade.upgrade(__setup_map['name'], dependencies=True, restart=True)