Auto-insert snippet for python emacs

A small skeleton you can put into your python emacs editing session: ;; insert python skeleton with auto-insert (eval-after-load ‘autoinsert ‘(define-auto-insert ‘(“\\.\\py\\'” . “python skeleton”) ‘(“” “#!/usr/bin/env python” \n “# ” (file-name-nondirectory (buffer-file-name)) \n \n “def main():” \n “pass” \n \n “if __name__ == ‘__main__’:” \n “main()” \n \n)))

python pipenv package for fedora 27

Package from the COPR didn’t work for me due to outdated dependencies, so I’ve modified the SPEC file it’s based on. To create RPM: Download SPEC file (above) Follow “Preparing your system to create RPM packages” Download pipenv-11.1.3.tar.gz Run fedpkg –release f27 local Note: I’ve only created python 3 package.