post_install () { cat << EOF ==> Add this code to your .emacs file to use the mode: (require 'elpy) (elpy-enable) ==> Or do the above with use-package: (use-package elpy :config (elpy-enable)) EOF } post_upgrade () { post_install $1 }