summarylogtreecommitdiffstats
path: root/jupyter_stata_kernel.install
diff options
context:
space:
mode:
Diffstat (limited to 'jupyter_stata_kernel.install')
-rw-r--r--jupyter_stata_kernel.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/jupyter_stata_kernel.install b/jupyter_stata_kernel.install
new file mode 100644
index 000000000000..c743c805c910
--- /dev/null
+++ b/jupyter_stata_kernel.install
@@ -0,0 +1,11 @@
+post_install() {
+ python3 -m stata_kernel.install
+}
+
+post_upgrade() {
+ python -m stata_kernel.install
+}
+
+post_remove() {
+ jupyter kernelspec uninstall stata -f
+}