forked from Riverscapes/riverscapes-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (34 loc) · 1023 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
34
35
36
37
38
39
#!/usr/bin/env python
import re
from setuptools import setup
# https://packaging.python.org/discussions/install-requires-vs-requirements/
install_requires = [
'termcolor', 'Cython>=0.29.23', 'numpy>=1.21.0', 'scipy>=1.8.1',
'argparse', 'GDAL>=3.0', 'rasterio>=1.1.5', 'Shapely==1.8.2',
'rs-commons'
]
with open("README.md", "rb") as f:
long_descr = f.read().decode("utf-8")
version = re.search(
'^__version__\\s*=\\s*"(.*)"',
open('vbet/__version__.py').read(),
re.M
).group(1)
setup(name='vbet',
version=version,
description='Riverscapes Open Source Python VBET',
author='Matt Reimer',
license='MIT',
python_requires='>3.5.2',
long_description=long_descr,
author_email='[email protected]',
install_requires=install_requires,
entry_points={
"console_scripts": ['vbet = vbet.vbet:main']
},
zip_safe=False,
url='https://github.com/Riverscapes/vbet',
packages=[
'vbet'
]
)