Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checking install deps #217

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# List required packages in this file, one per line.
numpy
numpy<2
scipy
sympy
matplotlib
Expand Down
25 changes: 14 additions & 11 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ set -vxeuo pipefail
platform="$(uname)"

if [ "${platform}" == "Linux" ]; then
# sudo apt-get update -y
# sudo apt-get install -y \
# gfortran \
# openmpi-bin \
# openmpi-doc \
# libopenmpi-dev \
# libopenblas-dev \
# libarpack2-dev \
# libparpack2-dev
sudo apt-get install -y \
gfortran \
openmpi-bin \
openmpi-doc \
libopenmpi-dev \
libopenblas-dev \
libarpack2-dev \
libparpack2-dev
echo "Skipping system packages installation in favor of conda packages for building."
mpmdean marked this conversation as resolved.
Show resolved Hide resolved
elif [ "${platform}" == "Darwin" ]; then
echo "gfortran is expected to exist already."
Expand All @@ -30,8 +29,12 @@ python -VV

python -m pip install --upgrade pip setuptools wheel numpy

# # Generate .whl file.
python setup.py sdist bdist_wheel
# Generate .whl file.
if [ "${platform}" == "Linux" ]; then
python setup.py sdist bdist_wheel --plat-name=manylinux2014_x86_64
else
python setup.py sdist bdist_wheel
fi
ls -la dist/

# Install this package and the packages listed in requirements.txt.
Expand Down
Loading