[IPython-dev] [ANN] tutormagic v0.2.0

klo uo klonuo at gmail.com
Mon Aug 1 19:17:39 EDT 2016


Thanks Matthias for your guidance. What you wrote makes perfect sense to me.


Cheers

On Mon, Aug 1, 2016 at 8:11 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:

> > BTW OT, I recently released that `%install_ext` was removed from IPython,
> > and wonder why could this be
>
>
> All the use case of install_ext are covered by pip.
> Install_ext has also a lot of issues:
>  - less secure than pip [can of euphemism to say gigantic potential
> security nightmare]
>  - no way to "uninstall_ext"
>  - no way to "upgrade ext"
>  - no way to express versions
>  - no way to list extensions.
>  - no way to express dependencies.
>
> I think you see the pattern... improving install_ext was reinventing
> managing packages.
> And as an IPython extension is "just" a python module that define some
> magics methods, we now recommend
> that extension should just be packages on PyPI.
>
> If you find that publishing a package is too hard, I would suggest
> having a look at flit[1]
>
> --
> M
> 1: https://pypi.python.org/pypi/flit
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20160802/5498cd42/attachment.html>


More information about the IPython-dev mailing list