Skip to content

Commit

Permalink
python-2.7.15: Add PyQt5 (experimental)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas committed Oct 18, 2018
1 parent 5dd2f5d commit c8c7376
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions python-2.7.15-2.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,34 @@ pip install HiCExplorer --constraint $BUILDDIR/such_a_lamer --no-warn-conflicts
make; make install
)

(
# Don't use 5.11.3 !
PYQT_VERSION=5.10.1
PYQT_SRC=https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-$PYQT_VERSION/PyQt5_gpl-$PYQT_VERSION.tar.gz

cd $BUILDDIR
test -e PyQt5_gpl-$PYQT_VERSION.tar.gz || wget $PYQT_SRC
test -d PyQt5_gpl-$PYQT_VERSION || tar -xf PyQt5_gpl-$PYQT_VERSION.tar.gz

cd PyQt5_gpl-$PYQT_VERSION

export QTDIR=/usr/local/qt5

python configure.py \
-b $PREFIX/bin \
-d $XPYTHONLIB \
-q /usr/local/qt5/bin/qmake \
-v $PREFIX/share/sip \
--confirm-license \
--no-designer-plugin \
--no-python-dbus \
--no-qml-plugin \
--no-stubs \
--sip-incdir=$PREFIX/include/python$XPYTHONVER \
--verbose

make -j $(nproc); make install
)

# exit 1 # final test, inhibits 'closing' on success
exit

0 comments on commit c8c7376

Please sign in to comment.