In article <[email protected]>, André Sintzoff <[email protected]> wrote:
> >From source, using make local and make install which copies all files > in /usr/local/lib/python2.5/site-packages/mercurial/ > > After copying > dist/TortoiseHg.app/Contents/Resources/lib/python2.5/lib-dynload/mercurial/* > in > /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dyn > load/mercurial > the application fails a little bit further with: > ImportError: > '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dy > nload/PyQt4/QtCore.so' > not found > > So, the problem is perhaps not specific to mercurial itself. You should not be copying *anything* into /System/Library/Frameworks. That's part of OS X and managed by Apple. User-installed site packages for the system Pythons are not installed there (at least on recent versions of OS X), they are installed into /Library/Python. But for your use case (i.e. to make a standalone distributable app), you don't want to have anything to do with the system Python. I'm no longer familiar with that old version of Python 2.5 (BTW, there is a newer Python 2.5.4 OS X installer still available from python.org here: http://www.python.org/download/releases/2.5.4/ ), but the normal place for it to be looking for site-packages is: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pack ages -- Ned Deily, [email protected] _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
