Salome HOME
SALOME-9.10.0-int32: Scotch: add SALOME_USE_64BIT_IDS switch for ptscotch
[tools/sat_salome.git] / products / compil_scripts / PyQt.sh
1 #!/bin/bash
2
3 echo "##########################################################################"
4 echo "PyQt" $VERSION
5 echo "##########################################################################"
6
7
8
9 python_name=python$PYTHON_VERSION
10
11 echo `env`
12
13 echo
14 echo "*** configure"
15 python $SOURCE_DIR/configure.py --confirm-license --no-designer-plugin --verbose \
16     --bindir=${PRODUCT_INSTALL}/bin \
17     --destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages \
18     --sipdir=${PRODUCT_INSTALL}/sip 2>&1
19 if [ $? -ne 0 ]
20 then
21     echo "ERROR on configure"
22     exit 1
23 fi
24
25 echo
26 echo "*** make" $MAKE_OPTIONS
27 make $MAKE_OPTIONS
28 if [ $? -ne 0 ]
29 then
30     echo "ERROR on make"
31     exit 2
32 fi
33
34 echo
35 echo "*** make install"
36 make install
37 if [ $? -ne 0 ]
38 then
39     echo "ERROR on make install"
40     exit 3
41 fi
42
43
44 echo
45 echo "########## END"
46