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.
- ###### ##################
- cd "$HOME"
- installs="$HOME/scripts"
- mkdir -p scripts
- pushd "$installs"
- mkdir -p "$installs/pyqt4"
- cd "$installs/pyqt4"
- #wget -nc https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.3.dev1706101519.tar.gz
- wget -nc https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.3/sip-4.19.3.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
- tar zxf sip-4.19.3.tar.gz
- tar zxf PyQt4_gpl_x11-4.12.tar.gz
- tar zxf QScintilla_gpl-2.10.tar.gz
- pwd
- #exit 1
- ########### SIP INSTALL ###################
- cd "$installs/pyqt4/sip-4.19.3"
- python2 configure.py
- make
- sudo make install
- exit
- make clean
- python3 configure.py
- make -j4
- sudo make install
- ########### pyqt4 ##############
- cd "$installs/pyqt4/PyQt4_gpl_x11-4.12"
- python2 configure.py
- make -j4
- sudo make install
- make clean
- python3 configure.py
- make -j4
- sudo make install
- ########### Qscintilla ##########
- cd "$installs/pyqt4/QScintilla_gpl-2.10"
- qmake DEFINES+=NO_CXX11_REGEX=1
- make -j4
- sudo make install
- cd "$installs/pyqt4/QScintilla_gpl-2.10/Python"
- python2 configure.py
- make -j4
- sudo make install
- python3 configure.py
- make -j4
- sudo make install
Add Comment
Please, Sign In to add comment