Re: [ANN] tutormagic v0.2.0
Matthias Bussonnier <[email protected]> Mon, 1 Aug 2016 11:11:41 -0700
| Newsgroups | gmane.comp.python.ipython.devel |
|---|---|
| Message-ID | <CANJQusXx6X6PrwFes_hoYAtODoth3kG9eH_bJAbU6Zt7PUDVdA@mail.gmail.com> |
> 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