'APPLICATION.products.netcdf' : '4.6.2'
'APPLICATION.products.qt' : '5.15.2'
'APPLICATION.products.qwt' : '6.1.6'
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_UB20_04' }
'APPLICATION.products.PyQt' : '5.15.3'
'APPLICATION.products.sip' : '5.5.0'
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
# - xmlpatterns executable
__condition__ : "VARS.dist in ['DB10']"
'APPLICATION.rm_products' : ['nose_py3','assimulo'] #
+ 'APPLICATION.products.BasicIterativeStatistics' : 'v0.0.7'
'APPLICATION.products.nlopt' : '2.4.2'
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.cminpack' : 'native'
'APPLICATION.products.hdf5' : 'native'
+ 'APPLICATION.products.poetry_core' : '1.6.1'
+ 'APPLICATION.products.poetry' : {tag: '1.5.1', base: 'no', section: 'version_1_5_1_DB10' }
'APPLICATION.products.PyFMI' : {tag:'2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.qt' : '5.15.2'
'APPLICATION.products.qwt' : '6.1.6'
APPLICATION :
{
- name : 'SALOME-master'
+ name : 'SALOME-9.13.0'
workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name + '-' + $VARS.dist
tag : 'master'
dev : 'no'
# PREREQUISITES :
alabaster : '0.7.6'
Babel : '2.14.0'
+ BasicIterativeStatistics : 'v0.1.0'
boost : '1.71.0'
CAS : {tag : 'CR780-SALOME-PATCH', section: 'version_CR780_SALOME_PATCH', base: 'no'}
catalyst: '2.0'
petsc : {tag : '3.16.0', base: 'no', section: 'version_3_16_0', hpc: 'yes'}
Pillow : '8.4.0'
planegcs : '0.18-3cb6890'
+ poetry : '1.8.3'
+ poetry_core : '1.9.0'
+ pyyaml: '6.0'
psutil : '5.9.8'
PyFMI : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip'}
Pygments : '2.17.2'
pyparsing : '3.1.1'
PyQt : '5.15.3'
pyreadline : '2.0'
+ pytest : '8.1.1'
Python : '3.9.14'
pytz : '2017.2'
qt : '5.15.2'
__condition__ : "VARS.dist in ['CO7']"
'APPLICATION.rm_products' : ['gcc', 'gmp', 'mpc', 'mpfr']
'APPLICATION.products.openturns' : {tag:'1.22', base:'no', section:'version_1_22_CO7'}
+ 'APPLICATION.products.pyyaml' : {tag: '6.0', base: 'no', section: 'version_6_0_CO7' }
+ 'APPLICATION.products.poetry' : {tag: '1.8.3', base: 'no', section: 'version_1_8_3_CO7' }
}
{
__condition__ : "VARS.dist in ['CO8']"
echo
echo "*** ${PYTHONBIN} -m pip install . --prefix=${PRODUCT_INSTALL}"
-${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL --no-build-isolation -vvv
+${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL --no-build-isolation
if [ $? -ne 0 ] ; then
echo "Error on pip install"
exit 1
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+USE_WHEELS=true
+case $LINUX_DISTRIBUTION in
+ DB10|UB20*)
+ export WHEELS=('poetry-1.5.1-py3-none-any.whl')
+ ;;
+ *)
+ exit 1
+ ;;
+esac
+if $USE_WHEELS == true ; then
+ for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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
+else
+ echo "Not implemented"
+fi
+if [ -d ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin ];then
+ mv ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin* ${PRODUCT_INSTALL}/bin
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "poetry " $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+echo "*** check installation"
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+USE_WHEELS=true
+case $LINUX_DISTRIBUTION in
+ DB10|UB20*|CO7)
+ export WHEELS=('poetry-1.8.3-py3-none-any.whl')
+ ;;
+ *)
+ exit 1
+ ;;
+esac
+if $USE_WHEELS == true ; then
+ for WHEEL in "${WHEELS[@]}"; do
+ echo $WHELL
+ ${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
+else
+ echo "Not implemented"
+fi
+if [ -d ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin ];then
+ mv ${PRODUCT_INSTALL}/lib/python3.7/site-packages/bin* ${PRODUCT_INSTALL}/bin
+fi
+
+echo
+echo "########## END"
echo
echo "########## END"
-
-# USE_WHEELS=true
-# case $LINUX_DISTRIBUTION in
-# DB11)
-# export WHEELS=('poetry-1.8.3-py3-none-any.whl'
-# )
-# ;;
-# *)
-# exit 1
-# ;;
-# esac
-# if $USE_WHEELS == true ; then
-# for WHEEL in "${WHEELS[@]}"; do
-# echo $WHELL
-# ${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
-# else
-# echo "Not implemented"
-# fi
-
-# echo
-# echo "########## END"
export PATH=${PRODUCT_INSTALL}/bin:$PATH
USE_WHEELS=true
case $LINUX_DISTRIBUTION in
- DB11)
+ DB11|CO7)
export WHEELS=('PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl')
;;
*)
-zdefault :
+default :
{
name : "poetry"
build_source : "script"
pip : "no"
}
}
+
+version_1_5_1_DB10:
+{
+ compil_script: "poetry-1.5.1.sh"
+ archive_info : {archive_name : "poetry-1.5.1-x86_64.tar.gz"}
+}
+
+version_1_5_1_UB20_04:
+{
+ compil_script: "poetry-1.5.1.sh"
+ archive_info : {archive_name : "poetry-1.5.1-x86_64.tar.gz"}
+}
+
+version_1_8_3_CO7:
+{
+ compil_script: "poetry-1.8.3.sh"
+ archive_info : {archive_name : "poetry-1.8.3-x86_64.tar.gz"}
+}
compil_script: "pyyaml-6.0.sh"
archive_info : {archive_name : "pyyaml-6.0-x86_64.tar.gz"}
}
+
+version_6_0_CO7:
+{
+ compil_script: "pyyaml-6.0.sh"
+ archive_info : {archive_name : "pyyaml-6.0-x86_64.tar.gz"}
+}