[PyQt] question about installation best practices on OS X
William Kyngesburye
woklist at kyngchaos.com
Mon Oct 19 04:04:51 BST 2009
By default (as you've noticed), SIP and PyQt install their binary
executables in the framework. This is fine for the python.org Python,
but installing in the system frameworks is not quite proper.
What I do for SIP and PyQt and the system python is specify a custom
bin (and site-packages and other files) location in configuration:
SIP:
python configure.py -n -d /Library/Python/2.6/site-packages -b /usr/
local/bin -e /usr/local/include -v /usr/local/share/sip --arch=i386 -s
MacOSX10.6.sdk
PyQt:
export QTDIR=/Developer/Applications/Qt
python configure.py -d /Library/Python/2.6/site-packages -b /usr/local/
bin --use-arch=i386
On Oct 18, 2009, at 8:29 PM, Darren Dale wrote:
> I just recently started working with OS X, and was wondering if
> someone could point me to some discussion about best practices for
> installing Qt and PyQt. For example, today I installed the Qt-4.6 beta
> dmg, but was surprised that symlinks to tools like designer were not
> created on the path. Likewise, I installed the most recent sip and
> PyQt4 snapshots, and after installing I was surprised that I could not
> find utilities like pyuic4 on the path. I'm using the python that
> shipped with snow leopard (2.6.1), and packages using distutils, like
> numpy, scipy, matplotlib, Distribute and nose, all installed to
> /Library/Python/2.6/site-packages, which I guess is where I want them,
> as opposed to /System/Library/Frameworks/... but I think sip and PyQt4
> installed into Frameworks. Is this intentional? Any advice from
> seasoned os x veterans?
>
> Thanks,
> Darren
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
More information about the PyQt
mailing list