Commit 9c2e4eb301ef95e44abbd59df8b677fab217f028
1 parent
9fe022b3
Exists in
dev
pyros.py bugfix guitastro install
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
pyros.py
... | ... | @@ -549,14 +549,16 @@ def install_or_update(UPDATE: bool = False, packages_only: bool = False, databas |
549 | 549 | # 1) clone repo if not yet done |
550 | 550 | if not os.path.exists(GUITASTRO_PATH): |
551 | 551 | print("Cloning Guitastro repository") |
552 | - cloned_repo = Repo.clone_from("https://gitlab.irap.omp.eu/aklotz/guitastro.git", GUITASTRO_PATH) | |
552 | + cloned_repo = Repo.clone_from( | |
553 | + "https://gitlab.irap.omp.eu/aklotz/guitastro.git", GUITASTRO_PATH) | |
553 | 554 | print("Cloned successfully: ", cloned_repo.__class__ is Repo) |
554 | 555 | # 2) install/update requirements |
555 | 556 | if os.path.exists(GUITASTRO_PATH): |
556 | 557 | print("Installing/Updating Guitastro python package dependencies") |
557 | 558 | # Upgrade pip if new version available |
558 | 559 | os.system(VENV_PYTHON + ' -m pip install --user --upgrade pip') |
559 | - venv_pip_install2(GUITASTRO_PATH + 'requirements.txt', '-r') | |
560 | + venv_pip_install2( | |
561 | + GUITASTRO_PATH + '/install/requirements.txt', '-r') | |
560 | 562 | |
561 | 563 | #if test_mode(): print("in test mode") |
562 | 564 | # self.execProcess("python3 install/install.py install") | ... | ... |