Skip to content

Commit

Permalink
Add setuptools distro deps dependency
Browse files Browse the repository at this point in the history
Signed-off-by: DIMITRIS KARNIKIS <[email protected]>
  • Loading branch information
dkarnikis committed Oct 18, 2021
1 parent 7af123c commit 7e8f58d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/distro-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case "$distro" in
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y # for g++-10
sudo apt-get update &> $LOG_DIR/apt_update.log
echo "|-- running apt install..."
sudo apt-get install -y git libtool m4 curl automake pkg-config libffi-dev python python3 python3-pip wamerican-insane bc bsdmainutils g++-10 python3-testresources &> $LOG_DIR/apt_install.log
sudo apt-get install -y git libtool m4 curl automake pkg-config libffi-dev python python3 python3-pip wamerican-insane bc bsdmainutils g++-10 python3-testresources python3-setuptools &> $LOG_DIR/apt_install.log
echo "|-- make g++-10 default..."
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
sudo update-alternatives --set g++ /usr/bin/g++-10
Expand All @@ -43,14 +43,14 @@ case "$distro" in
add-apt-repository ppa:ubuntu-toolchain-r/test -y # for g++-10
apt-get update &> $LOG_DIR/apt_update.log
echo "|-- running apt install..."
apt-get install -y git libtool curl sudo procps m4 automake pkg-config libffi-dev python python3 python3-pip wamerican-insane bc bsdmainutils g++-10 python3-testresources &> $LOG_DIR/apt_install.log
apt-get install -y git libtool curl sudo procps m4 automake pkg-config libffi-dev python python3 python3-pip wamerican-insane bc bsdmainutils g++-10 python3-testresources python3-setuptools &> $LOG_DIR/apt_install.log
echo "|-- make g++-10 default..."
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
sudo update-alternatives --set g++ /usr/bin/g++-10
;;
fedora*)
echo "|-- running dnf install...."
dnf install git gcc gcc-c++ python python3-pip make curl automake autoconf libtool hostname bc procps python3-testresources -y &> $LOG_DIR/dnf_install.log
dnf install git gcc gcc-c++ python python3-pip make curl automake autoconf libtool hostname bc procps python3-testresources python3-setuptools -y &> $LOG_DIR/dnf_install.log
;;
arch*)
echo "Updating mirrors"
Expand Down
6 changes: 3 additions & 3 deletions scripts/setup-pash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ echo "export distro=$distro" > ~/.pash_init
cd ../

echo "Installing python dependencies..."
python3 -m pip install jsonpickle -t $PYTHON_PKG_DIR &> $LOG_DIR/pip_install_jsonpickle.log
python3 -m pip install numpy &> $LOG_DIR/pip_install_numpy.log
python3 -m pip install matplotlib &> $LOG_DIR/pip_install_matplotlib.log
python3 -m pip install jsonpickle --root $PYTHON_PKG_DIR #&> $LOG_DIR/pip_install_jsonpickle.log
python3 -m pip install numpy #&> $LOG_DIR/pip_install_numpy.log
python3 -m pip install matplotlib #&> $LOG_DIR/pip_install_matplotlib.log


echo "Generating input files..."
Expand Down

0 comments on commit 7e8f58d

Please sign in to comment.