tbb : 'native'
tcl : 'native'
tk : 'native'
+ toml: 'native'
urllib3 : 'native'
zeromq: '4.3.1'
URANIE : '4.5.0'
'APPLICATION.products.cminpack': 'native'
'APPLICATION.products.PyFMI' : {tag:'2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.qt' : '5.12.10'
+ 'APPLICATION.products.qwt' : '6.1.2'
'APPLICATION.products.PyQt' : '5.15.3'
'APPLICATION.products.sip' : '5.5.0'
}
# 'paraview.0020.findMPI.patch',
# 'paraview.0021-FindGDAL.patch'
# ]
+ depend : [
+ 'Python',
+ 'hdf5',
+ 'qt',
+ 'PyQt',
+ 'sip',
+ 'boost',
+ 'libxml2',
+ 'freetype',
+ 'matplotlib',
+ 'cgns',
+ 'Pygments'
+ ]
opt_depend : ['openmpi', 'ospray','tbb', 'openturns', 'gdal', 'netcdf', 'catalyst']
}
{
name : "catalyst"
build_source : "cmake"
+ cmake_options: " -DCMAKE_INSTALL_LIBDIR:STRING=lib "
get_source : "archive"
- archive_info : {archive_name : "catalyst-2.0-431a8a1.tar.gz"}
environ :
{
env_script : $name + ".py"
incremental : "yes"
}
}
+
+version_2_0:
+{
+ archive_info : {archive_name : "catalyst-2.0-431a8a1.tar.gz"}
+}
+
\ No newline at end of file
then
CMAKE_OPTIONS+=" -DPython3_INCLUDE_DIR:STRING=${PYTHON_ROOT_DIR}/include/python${PYTHON_VERSION}"
CMAKE_OPTIONS+=" -DPython3_LIBRARY:STRING=${PYTHON_ROOT_DIR}/lib/libpython${PYTHON_VERSION}.so"
+ CMAKE_OPTIONS+=" -DPython3_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python${PYTHON_VERSION}"
fi
CMAKE_OPTIONS+=" -DVTK_PYTHON_FULL_THREADSAFE:BOOL=ON"
CMAKE_OPTIONS+=" -DVTK_NO_PYTHON_THREADS:BOOL=OFF"
echo "PyQt" $VERSION
echo "##########################################################################"
-
-
python_name=python$PYTHON_VERSION
-# OP 01/08/2017 Artifact 8859 : test compilation PyQt 5.9
-# On fait tout dans les sources
-#CURRENT_DIR=`pwd`
cd $SOURCE_DIR
-if [ $? -ne 0 ]
+
+if [ "${SAT_Python_IS_NATIVE}" == "1" ]
then
- echo "ERROR on $SOURCE_DIR access"
- exit 1
+ # if not set, will try to install in system path...
+ mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+ export PATH=$(pwd)/bin:$PATH
+ export PYTHONPATH=$(pwd):$PYTHONPATH
+ export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
fi
-
echo
-echo "*** configure.py --confirm-license --no-designer-plugin --verbose --bindir=${PRODUCT_INSTALL}/bin --destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages --sipdir=${SIP_ROOT_DIR} --disable=QtNetwork --disable=QtWebSockets"
+echo "*** configure.py --confirm-license --no-designer-plugin --verbose --bindir=${PRODUCT_INSTALL}/bin --destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages --stubsdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages --sipdir=${SIP_ROOT_DIR} --disable=QtNetwork --disable=QtWebSockets"
$PYTHONBIN ./configure.py --confirm-license --no-designer-plugin --verbose \
--bindir=${PRODUCT_INSTALL}/bin \
--destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages \
+ --stubsdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages \
--sipdir=${SIP_ROOT_DIR} \
--disable=QtNetwork --disable=QtWebSockets 2>&1
-# --disable=QtNetwork --disable=QtWebSockets --disable=QtWebKit --disable=QtWebKitWidgets --disable=QAxContainer --disable=QtMacExtras --disable=QtWinExtras --disable=QtX11Extras --disable=Enginio 2>&1
if [ $? -ne 0 ]
then
echo "ERROR on configure"
-# OP 01/08/2017 Artifact 8859 : test compilation PyQt 5.9
-# On fait tout dans les sources
-# exit 1
-# cd $CURRENT_DIR
exit 2
fi
if [ $? -ne 0 ]
then
echo "ERROR on make"
-# OP 01/08/2017 Artifact 8859 : test compilation PyQt 5.9
-# On fait tout dans les sources
-# exit 2
-# cd $CURRENT_DIR
exit 3
fi
if [ $? -ne 0 ]
then
echo "ERROR on make install"
-# OP 01/08/2017 Artifact 8859 : test compilation PyQt 5.9
-# On fait tout dans les sources
-# exit 3
-# cd $CURRENT_DIR
exit 4
fi
-# OP 01/08/2017 Artifact 8859 : test compilation PyQt 5.9
-# Ajout du make clean
echo
echo "*** make clean"
make clean
if [ $? -ne 0 ]
then
echo "ERROR on make clean"
-# cd $CURRENT_DIR
exit 5
fi
def set_env(env, prereq_dir, version):
env.set('CATALYST_ROOT_DIR', prereq_dir)
- env.set('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib'))
- env.set('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib', 'catalyst'))
-
+ env.set('catalyst_DIR', os.path.join(prereq_dir, 'lib', 'cmake', 'catalyst-{}'.format(version)))
+ env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib'))
+ env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib', 'catalyst'))
+
def set_nativ_env(env):
pass
compil_script : 'sip-6.6.2' + $VARS.scriptExtension
archive_info : {archive_name : "sip-6.6.2-PyQt5_sip-12.11.0.tar.gz"}
patches : []
- depend : ['Python', 'qt', 'toml']
+ depend : ['Python', 'qt']
+ opt_depend: ['toml']
}
version_5_5_0 :
compil_script : 'sip-5.5.0' + $VARS.scriptExtension
archive_info : {archive_name : "sip-5.5.0-PyQt5_sip-12.8.1.tar.gz"}
patches : ['sip-5.5.0-sipSetBool.patch']
- depend : ['Python', 'qt', 'toml']
+ depend : ['Python', 'qt']
+ opt_depend: ['toml']
}
version_4_19_24 :
{
compil_script : 'sip' + $VARS.scriptExtension
-# archive_info : {archive_name : "sip-4.19.24_PyQt5-12.8.1.tar.gz"}
}