From b73e7ade585828140a62374426288132264afa32 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Thu, 6 Jun 2024 14:59:08 -0400 Subject: [PATCH] Install setuptools manually. --- build_mlpack.bat | 2 +- build_mlpack.emulated.sh | 2 +- build_mlpack.i686.sh | 2 +- build_mlpack.musl.sh | 2 +- build_mlpack.osx.sh | 2 +- build_mlpack.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build_mlpack.bat b/build_mlpack.bat index d23c7d6..3538d64 100755 --- a/build_mlpack.bat +++ b/build_mlpack.bat @@ -1,6 +1,6 @@ rem Build mlpack's Python bindings on a Windows system. -pip install cython numpy delvewheel wheel +pip install cython numpy delvewheel wheel setuptools rem Pandas 2.1.0 and newer aren't supported on Win32 anymore, so we use an old version. if "%WIN_ARCH%" == "Win32" pip install pandas==%PANDAS_VER% if not "%WIN_ARCH%" == "Win32" pip install pandas diff --git a/build_mlpack.emulated.sh b/build_mlpack.emulated.sh index 915734f..ee50966 100755 --- a/build_mlpack.emulated.sh +++ b/build_mlpack.emulated.sh @@ -7,7 +7,7 @@ set -e -u -o pipefail # RHEL7 on other architectures does not have openblas-devel; so, we use # atlas-devel instead. Armadillo and ensmallen must both be installed by hand. yum install -y atlas-devel lapack-devel wget -pip install cython numpy pandas wheel +pip install cython numpy pandas wheel setuptools wget https://files.mlpack.org/armadillo-11.4.1.tar.gz tar -xvzpf armadillo-11.4.1.tar.gz diff --git a/build_mlpack.i686.sh b/build_mlpack.i686.sh index 0bc567b..47f7c25 100755 --- a/build_mlpack.i686.sh +++ b/build_mlpack.i686.sh @@ -8,7 +8,7 @@ set -e -u -o pipefail # RHEL7 on i686 does not have openblas-devel; so, we use atlas-devel instead. # Armadillo and ensmallen must both be installed by hand. yum install -y atlas-devel lapack-devel wget -pip install cython numpy pandas wheel +pip install cython numpy pandas wheel setuptools wget https://files.mlpack.org/armadillo-11.4.1.tar.gz tar -xvzpf armadillo-11.4.1.tar.gz diff --git a/build_mlpack.musl.sh b/build_mlpack.musl.sh index 9d2cae4..3036e40 100755 --- a/build_mlpack.musl.sh +++ b/build_mlpack.musl.sh @@ -8,7 +8,7 @@ set -e -u -o pipefail # Enable the community repository. apk add openblas-dev -pip install cython numpy pandas wheel +pip install cython numpy pandas wheel setuptools # Armadillo must be built by hand. wget https://files.mlpack.org/armadillo-11.4.1.tar.gz diff --git a/build_mlpack.osx.sh b/build_mlpack.osx.sh index 85b47d2..91019e2 100755 --- a/build_mlpack.osx.sh +++ b/build_mlpack.osx.sh @@ -5,7 +5,7 @@ set -e -u -o pipefail brew install --force cereal gcc cmake hdf5 tree -pip install cython numpy pandas wheel +pip install cython numpy pandas wheel setuptools pip install packaging==20.5 export rootdir=`pwd` diff --git a/build_mlpack.sh b/build_mlpack.sh index ade0e43..a946676 100755 --- a/build_mlpack.sh +++ b/build_mlpack.sh @@ -5,7 +5,7 @@ set -e -u -o pipefail yum install -y openblas-devel armadillo-devel cereal-devel ensmallen-devel wget -pip install cython numpy pandas wheel +pip install cython numpy pandas wheel setuptools # STB must be installed by hand. wget https://www.mlpack.org/files/stb.tar.gz