-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
45 lines (39 loc) · 1.21 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
43
44
45
import os
from setuptools import setup, find_packages
# Parse the version from the fiona module.
with open('rio_pansharpen/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
break
long_description = """"""
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='rio-pansharpen',
version=version,
description=u"rio-pansharpen",
long_description=long_description,
classifiers=[],
keywords='',
author=u"Virginia Ng",
author_email='[email protected]',
url='https://github.com/mapbox/rio-pansharpen',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'click',
'rasterio',
'rio-mucho'
],
extras_require={
'test': ['pytest', 'hypothesis', 'pytest-cov', 'codecov'],
},
entry_points="""
[rasterio.rio_plugins]
pansharpen=rio_pansharpen.scripts.cli:pansharpen
"""
)