From 69e3af9bbb82bbe3e70e5227a11b90cbf2343cfc Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Sat, 14 Sep 2019 11:36:36 +0500 Subject: [PATCH] a --- app/api.py | 2 +- app/file.py | 2 +- app/host.py | 2 +- app/image.py | 2 +- app/scheduler.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/api.py b/app/api.py index 7301db7..2528e39 100644 --- a/app/api.py +++ b/app/api.py @@ -63,7 +63,7 @@ def setup(path, auth_name, auth_seed, auth_realm, install_available(repo_name) # 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','--site-packages', '--three'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name) sp.check_output(['pipenv', 'run', 'python', 'create_image_store.py'], cwd=repo_name) \ No newline at end of file diff --git a/app/file.py b/app/file.py index 00f9bb4..499264d 100644 --- a/app/file.py +++ b/app/file.py @@ -44,7 +44,7 @@ def setup(path, base_dir, file_prefix, etcd_url): install_available(repo_name) # 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','--site-packages', '--three'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name) # TODO: Devuan/Debian have crontab under /etc/crontab diff --git a/app/host.py b/app/host.py index 7536137..aa888b2 100644 --- a/app/host.py +++ b/app/host.py @@ -58,5 +58,5 @@ def setup(path, ssh_username, ssh_key_path, ssh_key_pass, etcd_url, without_ceph install_available(repo_name) # 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','--site-packages', '--three'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name) \ No newline at end of file diff --git a/app/image.py b/app/image.py index 930f301..5447e9b 100644 --- a/app/image.py +++ b/app/image.py @@ -44,7 +44,7 @@ def setup(path, base_dir, etcd_url, without_ceph): install_available(repo_name) # 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','--site-packages', '--three'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name) # TODO: Devuan/Debian have crontab under /etc/crontab diff --git a/app/scheduler.py b/app/scheduler.py index 27a59f4..5073a01 100644 --- a/app/scheduler.py +++ b/app/scheduler.py @@ -56,5 +56,5 @@ def setup(path, vm_prefix, host_prefix, request_prefix, etcd_url): install_available(repo_name) # 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','--site-packages', '--three'], cwd=repo_name) sp.check_output(['pipenv', 'install'], cwd=repo_name) \ No newline at end of file