Salome HOME
C3PO: requires mpi4py
[tools/sat_salome.git] / products / openturns.pyconf
index fa3efc3adfc2c90853e5c25564d4e9c4cb980620..c6f0a72442f9cbc1b7bdc81422c0fe92a3975d30 100644 (file)
@@ -8,8 +8,9 @@ default :
     {
        env_script : $name + ".py"
     }
-    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib']
     build_depend : ["cmake", "swig"]
+    opt_depend : ['openmpi']
     patches : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
     build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
@@ -23,10 +24,52 @@ default :
 
 default_win :
 {
+    compil_script :  'pip_install' + $VARS.scriptExtension
+    properties :
+    {
+      single_install_dir : "yes"
+      incremental : "yes"
+      pip : "yes"
+    }
     depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'pthreads']
+    opt_depend : []
 }
 
 version_1_16 :
 {
-    patches : ['openturns-1.16.0001.patch']
+    compil_script :  "openturns-1.16" + $VARS.scriptExtension
+    patches : ['openturns-1.16.0001.patch','openturns-1.16.0002.patch']
+}
+
+version_1_16_win :
+{
+    patches : []
+}
+
+version_1_17 :
+{
+    compil_script :  "openturns-1.17" + $VARS.scriptExtension
+    patches : ['openturns-1.17.0001.patch']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI']
+    opt_depend : ['pandas', 'statsmodels']
+}
+
+version_1_17_FD32 :
+{
+    compil_script :  "openturns-1.17" + $VARS.scriptExtension
+    patches : ['openturns-1.17.0001.patch', 'openturns-1.17.0002.patch']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI']
+    opt_depend : ['pandas', 'statsmodels']
+}
+
+version_1_17_win :
+{
+    properties :
+    {
+      incremental : "yes"
+      pip : "yes"
+    }
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'pthreads']
+    opt_depend : []
+    patches : []
 }