mv ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
fi
-#export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:${PYTHONPATH}
-#export LD_LIBRARY_PATH=${PRODUCT_INSTALL}/lib:${LD_LIBRARY_PATH}
-#chmod +x ${SOURCE_DIR}/openturns-1.23/python/test/t_features.py
-#${PYTHONBIN} ${SOURCE_DIR}/openturns-1.23/python/test/t_features.py
-if [ $? -ne 0 ]
-then
+if [ $? -ne 0 ]; then
echo "ERROR testing Openturns features...."
exit 4
fi
continue
fi
echo "INFO: install joblib-1.1.0"
- if ! ${PYTHONBIN} -c "import joblib"; then
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/joblib-1.1.0/joblib-1.1.0-py2.py3-none-any.whl --no-deps
- if [ $? -ne 0 ]
- then
- echo "FATAL: could not install joblib-1.1.0"
- exit 6
- fi
- fi
+ if ! ${PYTHONBIN} -c "import joblib"; then
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/joblib-1.1.0/joblib-1.1.0-py2.py3-none-any.whl --no-deps
+ if [ $? -ne 0 ]; then
+ echo "FATAL: could not install joblib-1.1.0"
+ exit 6
+ fi
+ fi
if ! ${PYTHONBIN} -c "import sklearn"; then
if [ "${LINUX_DISTRIBUTION}" != "DB10" ]; then
echo "INFO: install scikit-learn-1.2.2"
fi
fi
elif [ $k == "otwrapy" ]; then
- echo "INFO: install tqdm-4.66.5"
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/tqdm-4.66.5/tqdm-4.66.5-py3-none-any.whl --no-deps --prefix=$PRODUCT_INSTALL
- if [ $? -ne 0 ]
- then
- echo "FATAL: could not install tqdm 4.66.5"
- exit 6
- fi
+ echo "INFO: install tqdm-4.66.5"
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/tqdm-4.66.5/tqdm-4.66.5-py3-none-any.whl --no-deps --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]
+ then
+ echo "FATAL: could not install tqdm 4.66.5"
+ exit 6
+ fi
fi
fi