setup.py 823 B

12345678910111213141516171819202122232425262728293031323334
  1. #!/usr/bin/env python
  2. from __future__ import print_function
  3. import os
  4. import sys
  5. from setuptools import setup
  6. if sys.argv[-1] == "publish":
  7. os.system("python setup.py sdist upload")
  8. os.system("python setup.py bdist_wheel upload")
  9. print("You probably want to also tag the version now:")
  10. print(" git tag -a VERSION -m 'version VERSION'")
  11. print(" git push --tags")
  12. sys.exit()
  13. setup(
  14. name="noteshrink",
  15. version="0.1.1",
  16. author="Matt Zucker",
  17. description="Convert scans of handwritten notes to beautiful, compact PDFs",
  18. url="https://github.com/mzucker/noteshrink",
  19. py_modules=["noteshrink"],
  20. install_requires=[
  21. "numpy>=1.1.0",
  22. "scipy",
  23. "pillow",
  24. ],
  25. entry_points="""
  26. [console_scripts]
  27. noteshrink=noteshrink:main
  28. """,
  29. )