a
This commit is contained in:
parent
0138fb3349
commit
af00df6068
6 changed files with 66 additions and 179 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue