-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (36 loc) · 1.24 KB
/
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
34
35
36
37
38
39
40
41
42
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
"""
A Lot of this methodology was "borrowed" from
- https://github.com/jgehrcke/python-cmdline-bootstrap/blob/master/bootstrap/bootstrap.py
"""
import re
from setuptools import setup
install_requires = [
'argparse', 'boto3', 'botocore'
]
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('riverscapestools/__version__.py').read(),
re.M
).group(1)
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name='riverscapestools',
description='A Riverscapes Uploader tool',
url='https://github.com/Riverscapes/riverscapestools',
author='Matt Reimer',
author_email='[email protected]',
license='MIT',
packages=['riverscapestools', 'riverscapestools.s3', 'riverscapestools.logger', 'riverscapestools.program'],
zip_safe=False,
install_requires=install_requires,
entry_points={
"console_scripts": ['rspupload = riverscapestools.rspupload:main',
'rsplist = riverscapestools.rsplist:main',
'rspdownload = riverscapestools.rspdownload:main']
},
version=version,
long_description=long_descr,
)