Skip to content

Instantly share code, notes, and snippets.

@wjwwood
Created October 25, 2011 01:20
Show Gist options
  • Save wjwwood/1311023 to your computer and use it in GitHub Desktop.
Save wjwwood/1311023 to your computer and use it in GitHub Desktop.
Recording of uninstalling and installing pyqt, sip, and qwt. Then checking the number of files before and after installing pyqwt.
∫ brew uninstall qwt pyqwt sip pyqt
Uninstalling /usr/local/Cellar/qwt/6.0.1...
Uninstalling /usr/local/Cellar/pyqwt/5.2.0...
Uninstalling /usr/local/Cellar/sip/4.12.4...
Uninstalling /usr/local/Cellar/pyqt/4.8.5...
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ ls
ack cowsay flann gettext jasper libmikmod libvpx netpbm pcre++ qt smpeg tinyxml yasm
apiextractor cppunit fltk gfortran jpeg libogg libxml2 ode pkg-config readline sqlite unrar zeromq
assimp doxygen freeimage glib lame libqglviewer libyaml opencv portmidi sdl stage vtk
atk eigen gdbm graphviz libdc1394 libtiff libzzip ossp-uuid proj sdl_image subversion wget
boost faac gdk-pixbuf gtest libftdi libusb little-cms pango pyside sdl_mixer szip x264
cmake ffmpeg generatorrunner gtk+ libiconv libusb-compat log4cxx pcl pyside-tools sdl_ttf tbb xvid
cminpack flac geos hdf5 liblo libvorbis neon pcre qhull shiboken theora yaml-cpp
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ brew install qwt sip pyqt
==> Downloading http://sourceforge.net/projects/qwt/files/qwt/6.0.1/qwt-6.0.1.tar.bz2
File already downloaded in /Users/william/Library/Caches/Homebrew
==> qmake -spec macx-g++ -config release
==> make
==> make install
/usr/local/Cellar/qwt/6.0.1: 910 files, 13M, built in 40 seconds
==> Downloading http://www.riverbankcomputing.co.uk/hg/sip/archive/4.12.4.tar.gz
File already downloaded in /Users/william/Library/Caches/Homebrew
==> Patching
patching file build.py
Hunk #1 succeeded at 185 (offset 6 lines).
Hunk #2 succeeded at 198 (offset 6 lines).
patching file siputils.py
Hunk #1 succeeded at 1451 (offset 17 lines).
==> python build.py prepare
==> python configure.py --destdir=/usr/local/Cellar/sip/4.12.4/lib/python --bindir=/usr/local/Cellar/sip/4.12.4/bin --incdir=/usr/local/Cellar/sip/4.12.4/include
==> make install
==> Caveats
This formula won't function until you amend your PYTHONPATH like so:
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH
==> Summary
/usr/local/Cellar/sip/4.12.4: 7 files, 568K, built in 4 seconds
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.8.5.tar.gz
File already downloaded in /Users/william/Library/Caches/Homebrew
==> python ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4.8.5/bin --destdir=/usr/local/Cellar/pyqt/4.8.5/lib/python --sipdir=/usr/local/Cellar/pyqt/4.8.5/share/sip
==> make
==> make install
==> Caveats
This formula won't function until you amend your PYTHONPATH like so:
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH
==> Summary
/usr/local/Cellar/pyqt/4.8.5: 543 files, 20M, built in 6.7 minutes
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ cd qwt/6.0.1/
william@arepa:/usr/local/Cellar/qwt/6.0.1 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/qwt-6.0.1-prepyqwt.manifest
william@arepa:/usr/local/Cellar/qwt/6.0.1 (git:pyqwt-5.20:985c3e0)
∫ cd ../../sip/4.12.4/
william@arepa:/usr/local/Cellar/sip/4.12.4 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/sip-4.12.4-prepyqwt.manifest
william@arepa:/usr/local/Cellar/sip/4.12.4 (git:pyqwt-5.20:985c3e0)
∫ cd ../../pyqt/4.8.5/
william@arepa:/usr/local/Cellar/pyqt/4.8.5 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/pyqt-4.5.8-prepyqwt.manifest
william@arepa:/usr/local/Cellar/pyqt/4.8.5 (git:pyqwt-5.20:985c3e0)
∫ cd ../../
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ brew install pyqwt
==> Downloading http://sourceforge.net/projects/pyqwt/files/pyqwt5/PyQwt-5.2.0/PyQwt-5.2.0.tar.gz
File already downloaded in /Users/william/Library/Caches/Homebrew
==> Patching
patching file configure/configure.py
==> python configure.py --module-install-path=/usr/local/Cellar/pyqwt/5.2.0/lib/python/PyQt4/Qwt5/ --sip-install-path=/usr/local/Cellar/pyqwt/5.2.0/share/sip/Qwt5/ --uic-install-path=/usr/local/Cellar/pyqwt/5.2.0/lib/pyt
==> make install
/usr/local/Cellar/pyqwt/5.2.0: 92 files, 3.4M, built in 71 seconds
william@arepa:/usr/local/Cellar (git:pyqwt-5.20:985c3e0)
∫ cd qwt/6.0.1/
william@arepa:/usr/local/Cellar/qwt/6.0.1 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/qwt-6.0.1-postpyqwt.manifest
william@arepa:/usr/local/Cellar/qwt/6.0.1 (git:pyqwt-5.20:985c3e0)
∫ cd ../../sip/4.12.4/
william@arepa:/usr/local/Cellar/sip/4.12.4 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/sip-4.12.4-postpyqwt.manifest
william@arepa:/usr/local/Cellar/sip/4.12.4 (git:pyqwt-5.20:985c3e0)
∫ cd ../../pyqt/4.8.5/
william@arepa:/usr/local/Cellar/pyqt/4.8.5 (git:pyqwt-5.20:985c3e0)
∫ find . > /tmp/pyqt-4.5.8-postpyqwt.manifest
william@arepa:/usr/local/Cellar/pyqt/4.8.5 (git:pyqwt-5.20:985c3e0)
∫ wc -l /tmp/*.manifest
574 /tmp/pyqt-4.5.8-postpyqwt.manifest
574 /tmp/pyqt-4.5.8-prepyqwt.manifest
933 /tmp/qwt-6.0.1-postpyqwt.manifest
933 /tmp/qwt-6.0.1-prepyqwt.manifest
12 /tmp/sip-4.12.4-postpyqwt.manifest
12 /tmp/sip-4.12.4-prepyqwt.manifest
3038 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment