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