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