This commit is contained in:
ahmadbilalkhalid 2019-09-12 00:16:34 +05:00
commit af00df6068
6 changed files with 66 additions and 179 deletions

View file

@ -2,7 +2,7 @@ import click
import subprocess as sp
import os
from app.helper import clone_etcd_wrapper
from app.helper import clone_etcd_wrapper, install_available
@click.group()
def image():
@ -35,6 +35,8 @@ def setup(path, base_dir, etcd_url, without_ceph):
clone_etcd_wrapper(path=repo_name)
install_available(os.path.join(repo_name, "Pipfile"))
# Create virtualenv with site-packages enabled and install all dependencies
sp.check_output(['pipenv','--site-packages', '--python', '3'], cwd=repo_name)
sp.check_output(['pipenv', 'install'], cwd=repo_name)