petsc : '3.14.0'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
+ psutil : '5.7.2'
Pygments : '2.0.2'
pyparsing : '2.0.3'
PyQt : '5.9'
Pillow : 'native'
# 'native' not exists : freeCAD part but not delivered with it from package handler
planegcs : '0.18-3cb6890'
+ psutil : 'native'
Pygments : 'native'
pyparsing : 'native'
PyQt : 'native'
'JOBMANAGER'
'YACS'
'YACSGEN'
- 'SOLVERLAB'
+# 'SOLVERLAB'
'DOCUMENTATION'
'SAMPLES'
'COMPONENT'
perl : '5.28.1.1'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
+ psutil : '5.7.2'
pthreads : '2.9.1'
Pygments : '2.4.2'
pyparsing : '2.4.0'
petsc : '3.14.0'
Pillow : '7.1.1'
planegcs : '0.18-3cb6890'
+ psutil : '5.7.2'
Pygments : '2.0.2'
pyparsing : '2.0.3'
PyQt : '5.15.3'
"setuptools",
"Pygments",
"pytz",
- "LIBBATCH"
+ "LIBBATCH",
+ "psutil"
]
build_depend : ["cmake", "swig", "doxygen", "cppunit"]
source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
"Pygments",
"pytz",
"LIBBATCH",
- "graphviz"
+ "graphviz",
+ "psutil"
]
build_depend : ["cmake", "swig", "doxygen", "cppunit"]
}
"pytz",
"cppunit",
"openmpi",
- "LIBBATCH"
+ "LIBBATCH",
+ "psutil"
]
}
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "psutil" $VERSION
+echo "##########################################################################"
+
+
+
+echo "*** build in SOURCE directory"
+cd $SOURCE_DIR
+
+# we don't install in python directory -> modify environment as described in INSTALL file
+mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION:0:3}/site-packages
+export PATH=$(pwd)/bin:$PATH
+export PYTHONPATH=$(pwd):$PYTHONPATH
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION:0:3}/site-packages:$PYTHONPATH
+
+echo
+echo "*** build and install with $PYTHONBIN"
+$PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+if [ $? -ne 0 ]
+then
+ echo "ERROR on build/install"
+ exit 3
+fi
+
+echo
+echo "######psutil END"
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path, platform
+
+def set_env(env, prereq_dir, version):
+ env.set("PSUTIL_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 : "psutil"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ system_info :
+ {
+ rpm : ["python3-psutil"]
+ rpm_dev : []
+ apt : ["python3-psutil"]
+ apt_dev : []
+ }
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python', 'setuptools']
+ 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"
+ }
+}
+
+default_win :
+{
+ compil_script : 'pip_install_whl' + $VARS.scriptExtension
+ archive_info : {archive_name : "psutil-" + $APPLICATION.products.psutil + "_windows.tar.gz"}
+}