'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.root' : {tag: '6.22.02', base: 'no', section: 'version_6_22_02_FD36' }
'APPLICATION.products.medfile' : {tag: '4.1.1', base: 'no', section: 'version_4_1_1_FD36' }
+ 'APPLICATION.products.mdurl' : {tag: '0.1.2', base: 'no', section: 'version_0_1_2_no_pip' }
+ 'APPLICATION.products.markdown_it_py' : {tag: '3.0.0', base: 'no', section: 'version_3_0_0_no_pip' }
+ 'APPLICATION.products.rich' : {tag: '13.7.1', base: 'no', section: 'version_13_7_1_no_pip'}
+ 'APPLICATION.products.meshio' : {tag: '5.3.5' , base: 'no', section: 'version_5_3_5_no_pip' }
+ 'APPLICATION.products.h5py' : {tag: '3.11.0', base: 'no', section: 'version_3_11_0_no_pip'}
}
{
case $LINUX_DISTRIBUTION in
FD32|UB20*)
WHEELS=('h5py-3.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl')
- for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
- if [ $? -ne 0 ]; then
- echo "ERROR: could not install $WHEEL"
- exit 1
- fi
- done
- if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
- mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
- fi
;;
FD34)
WHEELS=('h5py-3.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl')
- for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages
- if [ $? -ne 0 ]; then
- echo "ERROR: could not install $WHEEL"
- exit 1
- fi
- done
+ ;;
+ FD36)
+ WHEELS=('h5py-3.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl')
;;
*)
echo "Not implemented"
exit 1
;;
esac
+for WHEEL in "${WHEELS[@]}"; do
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+ if [ $? -ne 0 ]; then
+ echo "ERROR: could not install $WHEEL"
+ exit 1
+ fi
+done
+if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
+ mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
+fi
echo
echo "########## END"
WHEELS=('markdown_it_py-2.2.0-py3-none-any.whl')
for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
if [ $? -ne 0 ]; then
echo "ERROR: could not install $WHEEL"
exit 1
WHEELS=('markdown_it_py-3.0.0-py3-none-any.whl')
for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
if [ $? -ne 0 ]; then
echo "ERROR: could not install $WHEEL"
exit 1
WHEELS=('mdurl-0.1.2-py3-none-any.whl')
for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
if [ $? -ne 0 ]; then
echo "ERROR: could not install $WHEEL"
exit 1
export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
export PATH=${PRODUCT_INSTALL}/bin:$PATH
-case $LINUX_DISTRIBUTION in
- CO9|FD32|FD34|FD38|UB20*)
- WHEELS=('typing_extensions-4.11.0-py3-none-any.whl'
- 'meshio-5.3.5-py3-none-any.whl'
- )
- for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
- if [ $? -ne 0 ]; then
- echo "ERROR: could not install $WHEEL"
- exit 1
- fi
- done
- ;;
- DB11)
- WHEELS=('typing_extensions-4.11.0-py3-none-any.whl'
- 'meshio-5.3.5-py3-none-any.whl'
- )
- for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
- if [ $? -ne 0 ]; then
- echo "ERROR: could not install $WHEEL"
- exit 1
- fi
- done
- ;;
- *)
- echo "not implemented"
+WHEELS=('typing_extensions-4.11.0-py3-none-any.whl'
+ 'meshio-5.3.5-py3-none-any.whl'
+ )
+for WHEEL in "${WHEELS[@]}"; do
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+ if [ $? -ne 0 ]; then
+ echo "ERROR: could not install $WHEEL"
exit 1
- ;;
-esac
+ fi
+done
echo
echo "########## END"
WHEELS=('rich-13.7.1-py3-none-any.whl')
for WHEEL in "${WHEELS[@]}"; do
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
if [ $? -ne 0 ]; then
echo "ERROR: could not install $WHEEL"
exit 1
fi
done
+ls -ltr $PRODUCT_INSTALL/
if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
+elif [ -d ${PRODUCT_INSTALL}/local ]; then
+ mv ${PRODUCT_INSTALL}/local ${PRODUCT_INSTALL}/lib
fi
echo