-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (32 loc) · 1.45 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
from distutils.core import setup
from os import path
file_dir = path.abspath(path.dirname(__file__))
# Get the long description from the README file.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = long_description.replace('\r', '')
except ImportError:
print('Pandoc not found. Long_description conversion failure.')
with open(path.join(file_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
desc = '''A python library for generating a connected channel network from a
water mask'''
setup(name='orinoco',
version='0.1dev',
description=desc,
long_description=long_description,
url='https://github.com/simard-landscape-lab/orinoco',
author='''Charlie Marshak, Marc Simard, Michael Denbina,
Tom Van der Stocken, Johan Nilsson''',
author_email='charlie.z.marshak@jpl.nasa.gov',
keywords='fast marching method, centerlines, delta channel network',
packages=['orinoco'], # setuptools.find_packages(exclude=['doc']),
# Required Packages
# We assume an environment specified by requirements.txt is provided We
# could take this approach:
# https://github.com/scikit-image/scikit-image/blob/master/setup.py#L117-L131
# but rather use the requirements.txt to specify a valid environment and
# not muddle the installation with pip and possibly conda.
install_requires=[],
)