Personal emacs config
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
466 B

  1. # -*- mode: snippet -*-
  2. # name: setup
  3. # key: setup.py
  4. # --
  5. from setuptools import setup, find_packages
  6. with open("requirements.txt") as file:
  7. INSTALL_REQUIRES = file.read().rstrip().split("\n")
  8. setup(
  9. name="${1:PackageName}",
  10. version="${2:Version}",
  11. description="${3:Description}",
  12. install_requires=INSTALL_REQUIRES,
  13. author="${4:Raphael Roberts}",
  14. author_email="${5:raphael.roberts48@gmail.com}",
  15. packages=find_packages(),
  16. $0
  17. )