def upgrade(): if _pmap: raise RuntimeError autoupgrade.upgrade(__package_name__, dependencies=True, restart=True)
def update(self): autoupgrade.upgrade(__setup_map['name'], dependencies=True, restart=True)
def upgrade(dependencies=True, force=False, prerelease=False): autoupgrade.upgrade(_info['name'], dependencies, prerelease, force, restart=True)