Salome HOME
llvm 8.0.1 fedora 34 compliance
[tools/sat_salome.git] / products / openturns.pyconf
index d12cf87154674cbd26f434a15f20934c413e083a..370ed39c85a112b4a34483c31469e7ffb2bc0386 100644 (file)
@@ -6,10 +6,11 @@ default :
     get_source : "archive"
     environ :
     {
-       env_script : $name + ".py"
+       env_script : "openturns.py"
     }
-    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen','pthreads']
+    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
@@ -21,7 +22,90 @@ 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_18 :
+{
+    compil_script :  "openturns-1.18" + $VARS.scriptExtension
+    patches : ['openturns-1.18.0001.patch']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI']
+    opt_depend : ['pandas', 'statsmodels']
+}
+
+version_1_18_FD34 :
+{
+    compil_script :  "openturns-1.18" + $VARS.scriptExtension
+    patches : ['openturns-1.18.0001.patch', 'openturns-1.18.0002.patch']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI']
+    opt_depend : ['pandas', 'statsmodels']
+}
+
+version_1_18_FD32 :
+{
+    compil_script :  "openturns-1.18" + $VARS.scriptExtension
+    patches : ['openturns-1.18.0001.patch', 'openturns-1.18.0002.patch']
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'matplotlib', 'cminpack', 'FMILibrary', 'PyFMI']
+    opt_depend : ['pandas', 'statsmodels']
+}
+
+version_1_18_win :
+{
+    properties :
+    {
+      incremental : "yes"
+      pip : "yes"
+    }
+    depend : ['Python', 'lapack', 'hdf5', 'tbb', 'nlopt', 'libxml2', 'eigen', 'pthreads', 'dill', 'psutil']
+    opt_depend : []
+    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 : []
+}
+
 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 : []
 }