[IPython-dev] How to handle extensions

Brian Granger ellisonbg.net@gmail....
Wed Oct 14 18:20:17 CDT 2009


Robert,

I finished up the pretty extension.  Everything seems to work fine.  Do you
want
to try this branch out before I merge it into trunk?

Thanks,

Brian

On Tue, Oct 13, 2009 at 8:26 AM, Robert Kern <robert.kern@gmail.com> wrote:

> On 2009-10-13 03:14 AM, Hans Meine wrote:
> > On Friday 09 October 2009 20:00:59 Brian Granger wrote:
> >> - If an extension/profile can be distributed as a third party package,
> it
> >> should be.  Thus,
> >> the custom completer for enthough.traits should ship with
> enthought.traits.
> >> Things related
> >> to numpy should ship with numpy.
> >
> > Although this sounds good, one needs to make sure that this does not
> create
> > installation problems.  E.g. if the ipython extension is only installed
> if
> > ipython is found, the installation order may suddenly become relevant.
> > Or packagers may start to make the extension optional (e.g. with Gentoo
> USE
> > flags, or by putting them into an additional package), which would make
> things
> > less convenient for the user IMO.
>
> Packagers simply shouldn't do that. Optional components == bad news.
>
> > Finally, I would expect "import numpy" to activate all relevant
> extensions in
> > ipython (otherwise, where's the convenience?), but then we need to put
> code
> > into 3rd party packages to check for the IPython runtime - would that be
> good
> > design?
>
> I would really hope that packages wouldn't do that. Even if I have the
> package,
> I may not want their extensions.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma
>  that is made terrible by our own mad attempt to interpret it as though it
> had
>  an underlying truth."
>   -- Umberto Eco
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20091014/3bd4313d/attachment-0001.html 


More information about the IPython-dev mailing list