This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
53 lines (48 loc) · 1.44 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
46
47
48
49
50
51
52
53
"""Setup for remotepixel-py."""
from setuptools import setup, find_packages
with open("remotepixel/__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
# Runtime requirements.
inst_reqs = [
"numpy",
"Pillow",
"mercantile",
"rasterio[s3]~=1.0",
"rio-tiler>=1.0rc2",
"rio-toa",
"numexpr",
]
extra_reqs = {
"test": ["pytest", "pytest-cov", "mock"],
"dev": ["pytest", "pytest-cov", "mock", "pre-commit"],
}
setup(
name="remotepixel",
version=version,
description=u"",
long_description=u"",
classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords="remotepixel AWS lambda Landsat Sentinel SRTM",
author=u"RemotePixel",
author_email="contact@remotepixel.ca",
url="https://github.com/remotepixel/remotepixel-py",
license="BSD-2",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
python_requires="~=3.6",
package_data={"remotepixel": ["data/cmap.txt"]},
install_requires=inst_reqs,
extras_require=extra_reqs,
)