rasbt/watermark

%install_ext is deprecated...

jankatins opened this issue · 1 comments

IPython deprecated the %install_ext magic (ipython/ipython#8634). The replacement story is using a package to distribute the extension and then use %load_ext package.extension to load the extension.

Ah, and shamless plug: if you don't want to work with your own package, there is also now https://github.com/ipython-contrib/IPython-extensions watermark would be a great addition there!

rasbt commented

Thanks for the heads up, Jan, the change makes sense to me; I think extensions will be a tad easier to maintain this way. @bollwyvl submitted a very nice pull request a while ago with a "write metadata" option (#7). There were just a few changes to be made, but after it's merged, I will go ahead and turn watermark into a package/module.

About the link: Thanks for that, it's also a nice idea to bundle extensions in a package.