-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (36 loc) · 1.08 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
#!/usr/bin/env python
# encoding: utf-8
from setuptools import setup, find_packages
readme = open("README.md", "rt").read()
classifiers = ""
setup(
name="viirsmend",
setup_requires=["setuptools_scm"],
description="Python package for mending bowtie removed pixels in a VIIRS image",
long_description=readme,
classifiers=filter(None, classifiers.split("\n")),
keywords="",
author="Nick Bearson",
author_email="[email protected]",
license="LGPLv3",
packages=["viirsmend"],
package_dir={"viirsmend": "viirsmend"},
install_requires=[
"numpy",
"pykdtree",
"netCDF4",
"h5py",
],
extras_require={
"IFF": ["iocrutch"],
},
entry_points={
"console_scripts": [
"viirssdrmend=viirsmend.mender:main", # works on IDPS-style VIIRS SDR; requires h5py
"iffmend=viirsmend.iffmend:main", # works on IFF; requires iocrutch (netcdf4-python & pyhdf)
"viirsl1mend=viirsmend.l1mend:main", # works on NASA L1
]
},
use_scm_version=True,
zip_safe=False,
)