]> git.apps.os.sepia.ceph.com Git - ragweed.git/commitdiff
remove bootstrap script
authorCasey Bodley <cbodley@redhat.com>
Tue, 31 Jan 2023 17:44:42 +0000 (12:44 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 20 Feb 2023 14:38:19 +0000 (09:38 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 29d85b9de7179700f641760c897f0d36c11d947a)

bootstrap [deleted file]

diff --git a/bootstrap b/bootstrap
deleted file mode 100755 (executable)
index 186f6b7..0000000
--- a/bootstrap
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-set -x
-set -e
-
-if [ -f /etc/debian_version ]; then
-    for package in python3-pip python3-virtualenv python3-dev libevent-dev libxml2-dev libxslt-dev zlib1g-dev libffi-dev python3-cffi python3-pycparser python3-cachecontrol; do
-        if [ "$(dpkg --status -- $package 2>/dev/null|sed -n 's/^Status: //p')" != "install ok installed" ]; then
-            # add a space after old values
-            missing="${missing:+$missing }$package"
-        fi
-    done
-    if [ -n "$missing" ]; then
-        echo "$0: missing required DEB packages. Installing via sudo." 1>&2
-        sudo apt-get -y install $missing
-    fi
-    sudo apt-get remove -y python3-distro-info
-fi
-if [ -f /etc/redhat-release ]; then
-    for package in python3-pip python3-virtualenv python3-devel libevent-devel libxml2-devel libxslt-devel zlib-devel; do
-        if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
-            missing="${missing:+$missing }$package"
-        fi
-    done
-    if [ -n "$missing" ]; then
-        echo "$0: missing required RPM packages. Installing via sudo." 1>&2
-        sudo yum -y install $missing
-    fi
-fi
-
-sudo pip3 install --upgrade --trusted-host apt-mirror.front.sepia.ceph.com  setuptools cffi cachecontrol # address pip issue: https://github.com/pypa/pip/issues/6264
-virtualenv -p python3 --system-site-packages --download virtualenv
-
-# avoid pip bugs
-./virtualenv/bin/pip install --upgrade pip
-
-# work-around change in pip 1.5
-./virtualenv/bin/pip install six
-./virtualenv/bin/pip install -U pytest
-./virtualenv/bin/pip install setuptools
-
-./virtualenv/bin/pip install -U -r requirements.txt
-
-# forbid setuptools from using the network because it'll try to use
-# easy_install, and we really wanted pip; next line will fail if pip
-# requirements.txt does not match setup.py requirements -- sucky but
-# good enough for now
-./virtualenv/bin/python setup.py develop