packaging : 'native'
packagespy : '74152cd'
pandas : 'native'
+ patsy : 'native'
ParaView : {tag:'5.11.0', base: 'no', section: 'version_5_11_0_MPI', hpc: 'yes'}
PERSALYS : 'v16.0.1'
petsc : {tag : '3.16.0', section: 'version_3_16_0'}
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.openmpi' : '4.1.5'
'APPLICATION.products.sip' : '5.5.0'
+ 'APPLICATION.products.patsy' : {tag: '0.5.4', base: 'no', section: 'version_0_5_4_no_pip' }
'APPLICATION.products.root' : {tag: '6.22.02', base: 'no', section: 'version_6_22_02_CO9' }
'APPLICATION.products.qt' : {tag: '5.15.2', base: 'no', section: 'version_5_15_2_CO9' }
'APPLICATION.products.mdurl' : {tag: '0.1.2', base: 'no', section: 'version_0_1_2_no_pip' }
'APPLICATION.products.PyFMI' : {tag: '2.6', base: 'no', section: 'version_2_6_no_pip' }
'APPLICATION.products.numpydoc' : {tag: '0.9.0', base: 'no', section: 'version_0_9_0_no_pip' }
'APPLICATION.products.pandas' : {tag: '1.1.5', base: 'no', section: 'version_1_1_5_no_pip' }
- 'APPLICATION.products.statsmodels' : {tag: '0.6.1', base: 'no', section: 'version_0_6_1_no_pip' }
+ 'APPLICATION.products.statsmodels' : {tag: '0.14.1', base: 'no', section: 'version_0_14_1_no_pip' }
'APPLICATION.products.nose' : {tag: '1.3.7', base: 'no', section: 'version_1_3_7_no_pip' }
'APPLICATION.products.ParaView' : {tag: '5.11.0', base: 'no', section: 'version_5_11_0_MPI_CO9', hpc: 'yes'}
'APPLICATION.products.YDEFX' : {tag: 'master', base: 'no', section: 'version_master_CO9' }
{
__condition__ : "VARS.dist in ['FD32']"
'APPLICATION.rm_products' : ['nose_py3','assimulo'] #
+ 'APPLICATION.products.nlopt' : '2.7.0'
'APPLICATION.products.opencv' : '3.2.0'
'APPLICATION.products.qt' : '5.15.2'
'APPLICATION.products.qwt' : '6.1.6'
echo "WARNING: dill is already installed"
fi
echo "INFO: install pythonfmu-0.6.3"
- if ! ${PYTOHNBIN} -c "import pythonfmu"; then
+ if ! ${PYTHONBIN} -c "import pythonfmu"; then
${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/pythonfmu-0.6.3/pythonfmu-0.6.3-py3-none-any.whl --no-deps --prefix=$PRODUCT_INSTALL
if [ $? -ne 0 ]
then
fi
echo "INFO: install joblib-1.1.0"
if ! ${PYTHONBIN} -c "import joblib"; then
- ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/joblib-1.1.0/joblib-1.1.0-py2.py3-none-any.whl --no-deps
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/joblib-1.1.0/joblib-1.1.0-py2.py3-none-any.whl --no-deps
if [ $? -ne 0 ]; then
echo "FATAL: could not install joblib-1.1.0"
exit 6
echo "WARNING: sklearn is already installed"
fi
echo "INFO: install threadpoolctl-3.0.0"
- if ! ${PPYTHONBIN} -c "import threadpoolctl"; then
+ if ! ${PYTHONBIN} -c "import threadpoolctl"; then
${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/threadpoolctl-3.0.0/threadpoolctl-3.0.0-py3-none-any.whl --no-deps --prefix=$PRODUCT_INSTALL
if [ $? -ne 0 ]
then
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "patsy " $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+mkdir $BUILD_DIR
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+USE_OLD_SETUPTOOLS=false
+
+if [[ $DIST_NAME == "CO" && "$SAT_Python_IS_NATIVE" == "1" ]]; then
+ PRODUCT_LIB=lib64
+else
+ PRODUCT_LIB=lib
+fi
+#mkdir -p $PRODUCT_INSTALL/${PRODUCT_LIB}/python${PYTHON_VERSION}/site-packages
+export PATH=$(pwd)/bin:$PATH
+export PYTHONPATH=$(pwd):$PYTHONPATH
+export PYTHONPATH=${PRODUCT_INSTALL}/${PRODUCT_LIB}/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+
+echo
+if [ $USE_OLD_SETUPTOOLS ]; then
+ echo "*** install with ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL"
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL
+else
+ echo "*** build with $PYTHONBIN"
+ $PYTHONBIN setup.py build
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on build"
+ exit 2
+ fi
+
+ echo
+ echo "*** install with $PYTHONBIN"
+ $PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on install"
+ exit 3
+ fi
+fi
+
+if [ -d "${PRODUCT_INSTALL}/lib64" ]; then
+ echo "WARNING: moving lib64 to lib"
+ mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib
+elif [ -d "${PRODUCT_INSTALL}/local/lib64" ]; then
+ echo "WARNING: moving local/lib64 to lib"
+ mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib
+ rm -rf ${PRODUCT_INSTALL}/local/lib64
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "statsmodels " $VERSION
+echo "##########################################################################"
+
+rm -rf $BUILD_DIR
+mkdir $BUILD_DIR
+cd $BUILD_DIR
+cp -R $SOURCE_DIR/* .
+
+USE_OLD_SETUPTOOLS=false
+
+echo
+if [ $USE_OLD_SETUPTOOLS ]; then
+ echo "*** install with ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL"
+ ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL
+else
+ mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+
+ echo "*** build with $PYTHONBIN"
+ $PYTHONBIN setup.py build
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on build"
+ exit 2
+ fi
+
+ echo
+ echo "*** install with $PYTHONBIN"
+ $PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL
+ if [ $? -ne 0 ]
+ then
+ echo "ERROR on install"
+ exit 3
+ fi
+fi
+
+if [ -d "${PRODUCT_INSTALL}/lib64" ]; then
+ echo "WARNING: moving lib64 to lib"
+ mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib
+elif [ -d "${PRODUCT_INSTALL}/local/lib64" ]; then
+ echo "WARNING: moving local/lib64 to lib"
+ mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib
+ rm -rf ${PRODUCT_INSTALL}/local/lib64
+fi
+
+echo
+echo "########## END"
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+def set_env(env, prereq_dir, version):
+ env.set('PATSY_ROOT_DIR', prereq_dir)
+ if not platform.system() == "Windows" :
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+
+def set_nativ_env(env):
+ pass
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+import platform
+def set_env(env, prereq_dir, version):
+ env.set('STATSMODELS_ROOT_DIR', prereq_dir)
+ if not platform.system() == "Windows" :
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib', pyver, 'site-packages'))
+
+def set_nativ_env(env):
+ pass
get_source : "archive"
system_info :
{
- rpm : []
- rpm_dev : []
- apt : []
- apt_dev : []
+ rpm : ['python3-patsy']
+ rpm_dev : ['python3-patsy']
+ apt : ['python3-patsy']
+ apt_dev : ['python3-patsy']
}
environ :
{
-
+ env_script : $name + ".py"
}
depend : ["Python", "setuptools"]
opt_depend : ['pandas']
pip : "yes"
}
}
+
+version_0_5_4_no_pip :
+{
+ compil_script : "patsy-0.5.4" + $VARS.scriptExtension
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
}
environ :
{
-
+ env_script : $name + ".py"
}
depend : ["Python", "setuptools","PyFMI", "numpy", "scipy", "matplotlib", "packaging"]
opt_depend : ['pandas', 'patsy', 'Pillow']
}
}
+version_0_14_1_no_pip:
+{
+ compil_script : "statsmodels-0.14.1" + $VARS.scriptExtension
+ properties:
+ {
+ incremental : "yes"
+ pip : "no"
+ }
+}
+
version_0_10_2:
{
properties: