[
{
__condition__ : "APPLICATION.debug == 'yes'"
- 'APPLICATION.rm_products' : ['matplotlib', 'openturns']
+ 'APPLICATION.rm_products' : ['matplotlib', 'openturns', 'scipy', 'Pillow']
'APPLICATION.products.numpy' : {tag: '1.16.4', base: 'no', section : 'version_1_16_4_win_dbg' }
'APPLICATION.products.Cython' : {tag: '0.29.12', base: 'no', section : 'version_0_29_12_win_dbg' }
'APPLICATION.products.sphinxintl' : {tag: '2.0.0', base: 'no', section : 'version_2_0_0_win_dbg' }
"docutils",
"Sphinx",
"setuptools",
- "scipy",
"Python",
"nlopt",
"omniORB",
"EFICAS_TOOLS",
"YACS"
]
+ opt_depend : ["scipy"]
build_depend : ["cmake", "swig", "cppunit"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
)\r
\r
if %SAT_DEBUG% == 1 (\r
- cd %PRODUCT_INSTALL%\r
+ cd %OMNIORB_ROOT_DIR%\r
powershell -Command "Get-ChildItem -File -Recurse *.pyd| ForEach-Object {if ((!$_.Name.EndsWith('_d.pyd'))) { $_ | Copy-Item -Destination {$_.Name -replace '.pyd','_d.pyd'}}}"\r
)\r
+\r
+if %SAT_DEBUG% == 1 (\r
+ cd %OMNIORB_ROOT_DIR%\lib\x86_win32\r
+ copy /B /Y _omnicodesets.pyd _omnicodesets_d.pyd\r
+ copy /B /Y _omniConnMgmt.pyd _omniConnMgmt_d.pyd\r
+ copy /B /Y _omnipy.pyd _omnipy_d.pyd\r
+)\r
+\r
echo.\r
echo ########## END\r
echo psutil %VERSION%
echo ##########################################################################
+REM install in python directly
+SET INSTALL_CENTRALLY=1
+
IF NOT DEFINED SAT_DEBUG (
SET SAT_DEBUG=0
)
echo.
echo ***
-%PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
+if %INSTALL_CENTRALLY% == 1 (
+ %PYTHONBIN% setup.py build %BUILD_OPT% install
+) else (
+ %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
+)
if NOT %ERRORLEVEL% == 0 (
echo ERROR on psutil running %PYTHONBIN% setup.py build %BUILD_OPT% install --prefix=%PRODUCT_INSTALL%
exit 1
default_win :
{
+ cmake_options : "-DCPPUNIT_ROOT_DIR=%CPPUNIT_ROOT_DIR:\=/%"
properties :
{
incremental : "yes"
single_install_dir : "yes"
}
+ build_depend : ["cmake", "swig", "doxygen", "cppunit"]
}