[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] SIP with non framework Python
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2011-02-23 13:14:35
Message-ID: ac4294592315a5d9e4a57c7984b6623d () localhost
[Download RAW message or body]

On Wed, 23 Feb 2011 13:53:27 +0100, Luca Fiaschi
<luca.fiaschi@iwr.uni-heidelberg.de> wrote:
> Hi all,
> On Mac Snow Leopard, I'm trying to compile SIP with a non framework
> version of python2.7 installed into a non standard location but I can
see
> into the sipconfig.py file of SIP that this feature is blocked for some
> reason:
> 
>         if sys.platform == "darwin":
>             # 'real_prefix' exists if virtualenv is being used.
>             dl = getattr(sys, 'real_prefix',
sys.exec_prefix).split(os.sep)
> 
>             if "Python.framework" not in dl:
>                 error("SIP requires Python to be built as a framework")
> 
> Is is then not possible to build SIP with non framework Python? Does
PyQt4
> give also problems?

It's not supported only because it's a non-standard configuration. It
should work without problems, but you will need to hack at the configure
scripts.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic