Before doing anything funky with MacPorts, you might want to try installing
pyside normally and then creating a symlink to the location Enthought expects
it. So if pyside installs to
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide,
try something like:
$ sudo port install pyside
$ cd
/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages
$ sudo mv PySide{,.backup} # save in case anything goes wrong
$ sudo ln -s
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PySide
.
There may be an .egg-info file in site-packages that you need to back up and
symlink in the same fashion.
vq
On Nov 25, 2011, at 8:03 p.m., David Nicholls wrote:
> To run the Spyder IDE with the current Enthought python distribution, I need
> PySide-1.0.8-1 but the Enthought distro (the free academic version) comes
> with PySide-1.0.5-1.
>
> To access the Enthought repositories (which include PySide-1.0.8-1), you need
> a $200 subscription.
>
> It looks like PySide-1.0.8-1 is available through Macports (and not yet
> through python.org). However, Macports usually installs everything in the
> /opt directory, doesn't it?
>
> Is it possible to use Macports to install PySide-1.0.8-1 using Macports in
> the location where Enthought will find it?
>
> The current version is located at
> /Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/PySide
>
> Since I'm not at all sure what I'm doing this is a bit confusing :-(
>
> DN
>
>
>
>
> _______________________________________________
> macports-users mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users