workdir : $LOCAL.workdir + $VARS.sep + $APPLICATION.name
cmake_generator : 'Visual Studio 15 2017'
cmake_build_type: 'Release' # Debug, RelWithDebInfo, Release, MinSizeRel
- tag : 'master'
+ tag : 'master'
dev : 'no'
verbose : 'no'
debug : 'no'
{
# PREREQUISITES :
alabaster : '0.7.16'
+ attrs : '24.2.0'
Babel : '2.7.0'
+ BasicIterativeStatistics : 'v0.1.0'
+ build : '1.1.1'
boost : '1.67.0'
CAS : {tag:'CR780-SALOME-PATCH', section:'version_CR780_SALOME_PATCH_win', base: 'no'}
certifi : '2019.6.16'
doxygen : '1.8.3.1'
eigen : '3.3.4'
embree : '3.12.2'
+ exceptiongroup : '1.2.2'
expat : '2.0.1'
f2c : '1.0.0'
fftw: '3.3.9'
h5py : '3.11.0'
idna : '2.8'
imagesize : '1.1.0'
+ iniconfig : '2.0.0'
ispc : '1.15.0'
Jinja2 : '2.10.1'
kiwisolver : '1.4.5'
perl : '5.28.1.1'
Pillow : '10.2.0'
planegcs : '0.18-3cb6890'
+ pluggy : '1.5.0'
+ poetry_core : '1.9.0'
+ pyyaml: '6.0'
+ pytest : '8.3.2'
psutil : '5.9.8'
pthreads : '2.9.1'
PyFMI : '2.6'
swig : '4.0.2'
tbb : '2019_U8_win'
toml : '0.10.2'
+ tomli : '2.0.1'
tcltk : '8.6.9'
urllib3 : '1.25.3'
zlib : '1.2.5'
{
env_script: $name + ".py"
}
- depend : ['Python', 'setuptools', 'numpy', 'pyyaml', 'openturns', 'poetry', 'pytest']
+ depend : ['Python', 'setuptools', 'numpy', 'pyyaml', 'openturns', 'poetry_core', 'pytest']
+ opt_depend: ['poetry']
patches : []
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
}
}
+default_win :
+{
+ properties :
+ {
+ incremental : "yes"
+ pip : "no"
+ single_install_dir: 'no'
+ }
+}
+
version_v0_1_0:
{
- patches: ['basicIterativeStatistics-pyver.patch']
+ patches: ['basicIterativeStatistics-pyver.patch']
}
--- /dev/null
+default :
+{
+ name : "attrs"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-attrs"]
+ rpm_dev : []
+ apt : ["python3-attrs"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "build"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-build"]
+ rpm_dev : []
+ apt : ["python3-build"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'poetry_core']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo BasicIterativeStatistics %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
+
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%\cache\pip
+
+cd %SOURCE_DIR%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
+
+REM Ensure that BasicIterativeStatistics is not present.
+%PYTHON_ROOT_DIR%\python.exe -m pip uninstall -y iterative_stats
+
+%PYTHON_ROOT_DIR%\python.exe -m pip install --cache-dir=%BUILD_DIR%\cache\pip . --no-deps --no-build-isolation
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on python -m pip install
+ exit 3
+)
+
+echo.
+echo Product %PRODUCT_NAME% version: %VERSION%> %PRODUCT_INSTALL%\README.txt
+echo Installation folder: %PYTHON_ROOT_DIR%>> %PRODUCT_INSTALL%\README.txt
+
+echo.
+echo ########## END
--- /dev/null
+@echo off
+
+echo ##########################################################################
+echo pytest %VERSION%
+echo ##########################################################################
+
+if NOT exist "%PRODUCT_INSTALL%" mkdir %PRODUCT_INSTALL%
+
+REM clean BUILD directory
+if exist "%BUILD_DIR%" rmdir /Q /S %BUILD_DIR%
+mkdir %BUILD_DIR%\cache\pip
+
+cd %SOURCE_DIR%
+xcopy * %BUILD_DIR%\ /E /I /Q
+cd %BUILD_DIR%
+
+REM Ensure that pytest is not present.
+%PYTHON_ROOT_DIR%\python.exe -m pip uninstall -y pytest
+
+%PYTHON_ROOT_DIR%\python.exe setup.py install
+if NOT %ERRORLEVEL% == 0 (
+ echo ERROR on python setup.py
+ exit 3
+)
+
+echo.
+echo Product %PRODUCT_NAME% version: %VERSION%> %PRODUCT_INSTALL%\README.txt
+echo Installation folder: %PYTHON_ROOT_DIR%>> %PRODUCT_INSTALL%\README.txt
+
+echo.
+echo ########## END
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("ATTRS_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("BUILDPY_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("EXCEPTIONGROUP_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("INICONFIG_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("PLUGGY_ROOT_DIR",prereq_dir)
+
+ versionPython = env.get('PYTHON_VERSION')
+ if not platform.system() == "Windows" :
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'lib', 'python' + versionPython, 'site-packages'))
+ env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
+ env.prepend('PYTHONPATH',os.path.join(prereq_dir, 'bin'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+default :
+{
+ name : "exceptiongroup"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : []
+ rpm_dev : []
+ apt : []
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "iniconfig"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-iniconfig"]
+ rpm_dev : []
+ apt : ["python3-iniconfig"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pluggy']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
--- /dev/null
+default :
+{
+ name : "pluggy"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-pluggy"]
+ rpm_dev : []
+ apt : ["python3-pluggy"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython']
+ source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
+ build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
+ install_dir : 'base'
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
env_script : $name + ".py"
}
depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'pyyaml', 'pytest', 'poetry_core']
+ opt_depend : ['build']
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
install_dir : 'base'
}
}
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
version_1_5_1_x86_64:
{
compil_script: "poetry-1.5.1.sh"
}
}
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
version_1_9_0_x86_64:
{
compil_script: "poetry_core-1.9.0.sh"
pip : "no"
}
}
+
+default_win :
+{
+ properties :
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+ depend : ['Python', 'setuptools', 'numpy', 'openturns', 'Cython', 'iniconfig', 'exceptiongroup', 'tomli']
+}
}
}
+default_win:
+{
+ properties:
+ {
+ incremental : "yes"
+ pip : "yes"
+ }
+}
+
version_6_0_x86_64:
{
compil_script: "pyyaml-6.0.sh"