diff --git a/app/api.py b/app/api.py index 2528e39..d905f6f 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', '--three'], 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/helper.py b/app/helper.py index e4df717..6bcbdd3 100644 --- a/app/helper.py +++ b/app/helper.py @@ -9,6 +9,8 @@ def install_available(project_path): pass if get_distro_name() == "alpine": + sp.check_output(['pipenv','--site-packages', '--three'], cwd=project_path) + sp.check_output(['pipenv', 'lock'], cwd=project_path) with open(os.path.join(project_path, "Pipfile.lock")) as f: diff --git a/app/host.py b/app/host.py index aa888b2..ce85f23 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', '--three'], 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 5447e9b..08a67d6 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', '--three'], 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 5073a01..47f2985 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', '--three'], 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