[IPython-dev] [IPython-User] Adding IPython to Dock on MacOSX
Ray Osborn
ROsborn at anl.gov
Sat Jan 14 08:58:53 EST 2012
I loved the idea but I discovered that I would have had to make a small change to make it work. I had more than one copy of the Qt libraries on my Mac and the app version failed if I didn't specify which library to use. Enthought also creates an IPython launcher as an app, but just use a regular shell as the shebang and run the ipython command directly. I had to add
export DYLD_FRAMEWORK_PATH="/Library/Frameworks/EPD64.framework/Versions/Current/Frameworks:${DYLD_FRAMEWORK_PATH}"
before the ipython command to make sure it picked up the Enthought version of Qt.
So you probably have to add something like
os.environ["DYLD_FRAMEWORK_PATH"]='/path/to/your/QtFrameworks'
where the path points to the frameworks being used by the QtConsole.
Ray
On Jan 13, 2012, at 10:51 PM, Brian Granger wrote:
> On Fri, Jan 13, 2012 at 1:23 PM, Aaron Meurer <asmeurer at gmail.com> wrote:
>> You ought to ship something like this. You should also do it for the
>> notebook. The benefit there is that in addition to having a nice icon
>> to double click, you can set it so that double clicking on a .ipnb
>> file opens the notebook.
>
> Yes, that would be great.
>
>> Aaron Meurer
>>
>> On Fri, Jan 13, 2012 at 11:31 AM, Fernando Perez <fperez.net at gmail.com> wrote:
>>> On Fri, Jan 13, 2012 at 9:06 AM, Bartosz Telenczuk
>>> <b.telenczuk at biologie.hu-berlin.de> wrote:
>>>> Some of you may find this useful. I have just posted a short "how-to" on adding an ipython qt console luncher to MacOSX Dock.
>>>>
>>>> http://neuroscience.telenczuk.pl/?p=400
>>>>
>>>> This might be trivial, but it really makes working with IPython much more convenient (you will never have to open a terminal and type IPython for quick calculations).
>>>
>>> Great, many thanks! I'm forwarding this also to the -user list, as
>>> many there might find it of use.
>>>
>>> Cheers,
>>>
>>> f
>>> _______________________________________________
>>> IPython-User mailing list
>>> IPython-User at scipy.org
>>> http://mail.scipy.org/mailman/listinfo/ipython-user
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu and ellisonbg at gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
--
Ray Osborn
Materials Science Division
Argonne National Laboratory
Argonne, IL 60439, USA
Phone: +1 (630) 252-9011
Email: ROsborn at anl.gov
More information about the IPython-dev
mailing list