diff --git a/src/aiidalab_qe/__main__.py b/src/aiidalab_qe/__main__.py index fb68601bd..ea3e5cace 100644 --- a/src/aiidalab_qe/__main__.py +++ b/src/aiidalab_qe/__main__.py @@ -18,7 +18,6 @@ def cli(): @click.option("-f", "--force", is_flag=True) @click.option("--computer") @click.option("-p", "--profile", default=_DEFAULT_PROFILE) - def install_qe(force, profile): from aiida import load_profile from aiidalab_qe.setup.codes import codes_are_setup, install diff --git a/src/aiidalab_qe/common/setup_codes.py b/src/aiidalab_qe/common/setup_codes.py index 0f7be0b13..f950a6ccf 100644 --- a/src/aiidalab_qe/common/setup_codes.py +++ b/src/aiidalab_qe/common/setup_codes.py @@ -6,7 +6,7 @@ import ipywidgets as ipw import traitlets -from ..setup.codes import QE_VERSION, install +from ..setup.codes import QE_VERSION from .widgets import ProgressBar __all__ = [ @@ -249,8 +249,10 @@ def _setup(computer): "Installation process did not finish in the expected time." ) from None + FN_DO_NOT_SETUP = Path.cwd().joinpath(".do-not-setup-on-localhost") + class QESetupWidget(ipw.VBox): installed = traitlets.Bool(allow_none=True).tag(readonly=True) busy = traitlets.Bool().tag(readonly=True)