Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #installs sip, pyqt4 and scintall globally for python2.7 and python3.5
- # In the SIP folder *python configure.py --help* shows where pyqt4 will be installed.
- ###### ##################
- mkdir ~/installs/pyqt4
- cd ~/installs/pyqt4
- wget -nc https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.3.dev1706101519.tar.gz
- wget -nc http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12/PyQt4_gpl_x11-4.12.tar.gz
- # sourceforge link not working, manually download at osdn.net for package
- wget -nc https://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-2.10/QScintilla_gpl-2.10.tar.gz
- #################### untar the files #########
- tar zxf sip-4.19.3.dev1706101519.tar.gz
- tar zxf PyQt4_gpl_x11-4.12.tar.gz
- tar zxf QScintilla_gpl-2.10.1.tar.gz
- ########### SIP INSTALL ###################
- cd ~/installs/pyqt4/sip-4.19.3.dev1706101519
- python2 configure.py --confirm-license
- make -j2
- sudo make install
- python3 configure.py --confirm-license
- make -j2
- sudo make install
- ########### pyqt4 ##############
- cd ~/installs/pyqt4/PyQt4_gpl_x11-4.12
- python2 configure.py --confirm-license
- make -j2
- sudo make install
- python3 configure.py --confirm-license
- make -j2
- sudo make install
- ########### Qscintilla ##########
- cd ~/installs/pyqt4/QScintilla_gpl-2.10/Qt4Qt5
- qmake DEFINES+=NO_CXX11_REGEX=1
- make -j2
- sudo make install
- cd ~/installs/pyqt4/QScintilla_gpl-2.10/Python
- python2 configure.py --confirm-license
- make -j2
- sudo make install
- python3 configure.py --confirm-license
- make -j2
- sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement