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

Matthias Bussonnier bussonniermatthias at gmail.com
Mon Aug 1 14:11:41 EDT 2016


> 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



More information about the IPython-dev mailing list