'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.hdf5' : 'native'
'APPLICATION.products.cminpack' : 'native'
+ '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.PyFMI' : {tag:'2.6', base: 'no', section: 'version_2_6_no_pip'}
+ 'APPLICATION.products.rich' : 'native'
+ 'APPLICATION.products.meshio' : {tag:'5.3.5', base: 'no', section: 'version_5_3_5_no_pip'}
'APPLICATION.products.MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
+ 'APPLICATION.products.numpy' : {tag: '1.20.3', base: 'no', section: 'version_1_20_3' }
}
{
__condition__ : "VARS.dist in ['DB12']"
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"
exit 1
pyver = 'python' + env.get('PYTHON_VERSION')
env.set('MESHIO_ROOT_DIR',prereq_dir)
env.set('HDF5_DISABLE_VERSION_CHECK', '1')
+ env.set("MESHIO_VERSION",version)
if not platform.system() == "Windows" :
env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages', 'bin'))
else:
# meshio is installed in Python lib directory
# no need to expand PATH
pass
def set_nativ_env(env):
- pass
+ import meshio
+ meshio_version=meshio.__version__
+ env.set("MESHIO_VERSION",meshio_version)