--- /dev/null
+default :
+{
+ name : "PyQtChart"
+ build_source : "script"
+ compil_script : 'pip_install' + $VARS.scriptExtension
+ get_source : "archive"
+ environ :
+ {
+ env_script : $name + ".py"
+ }
+ depend : ['Python','setuptools', 'PyQt']
+ 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 : "no"
+ }
+}
+
+version_5_9 :
+{
+ compil_script : 'PyQtChart-5.9' + $VARS.scriptExtension
+}
+
+default_win :
+{
+ compil_script : 'pip_install_whl' + $VARS.scriptExtension
+ archive_info :
+ {
+ archive_name : "PyQtChart-" + $APPLICATION.products.PyQtChart + "_windows.tar.gz"
+ }
+}
--- /dev/null
+#!/bin/bash
+
+echo "##########################################################################"
+echo "PyQtChart " $VERSION
+echo "##########################################################################"
+
+
+mkdir $PRODUCT_INSTALL
+cd $PRODUCT_INSTALL
+echo "PyQtChart will be installed in PyQt folder..." >> README
+
+python_name=python$PYTHON_VERSION
+
+echo `env`
+
+echo
+
+cp -f $SOURCE_DIR/PyQt5/QtChart.so ${PYQT5_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/PyQt5/QtChart.so
+if [ $? -ne 0 ]
+then
+ echo "ERROR: could not copy QtCharts.so"
+ exit 1
+fi
+
+# useless - use the Qt one
+rm -rf ${PYQT5_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/PyQt5/Qt
+cp -r $SOURCE_DIR/PyQt5/Qt ${PYQT5_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/PyQt5/Qt
+if [ $? -ne 0 ]
+then
+ echo "ERROR: could not copy Qt"
+ exit 2
+fi
+
+rm -f ${PYQT5_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/PyQt5/Qt/lib/libQt5Charts.so.5
+if [ $? -ne 0 ]
+then
+ echo "ERROR: could not remove Qt/libQt5Charts.so.5"
+ exit 3
+fi
+
+echo
+echo "########## END"
+
--- /dev/null
+#!/usr/bin/env python
+#-*- coding:utf-8 -*-
+
+import os.path
+
+def set_env(env, prereq_dir, version):
+ pyver = 'python' + env.get('PYTHON_VERSION')
+ env.set('PYQTCHART_ROOT_DIR', prereq_dir)
+def set_nativ_env(env):
+ pass