pesterchum/MacBuild/configure_pyqt4.sh

21 lines
486 B
Bash
Raw Normal View History

2011-07-09 11:17:52 -04:00
#!/bin/bash
echo "Lexi's lazy configuration. This is not an official configure script. Press enter to confirm this."
read confirm
if [ ! -d pyqt4 ]
then
echo "Rename your pyqt4 folder to pyqt4."
exit 1
fi
cd pyqt4
if [ -e makefile ]
then
make clean
fi
python configure.py \
--confirm-license \
--use-arch=i386 \
--use-arch=x86_64 \
--destdir=/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages \
--verbose
echo "---~ Done ~---"