forked from mapbox/rio-glui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (46 loc) · 1.54 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.py"""
from setuptools import setup, find_packages
with open("README.md") as f:
readme = f.read()
# Parse the version from the fiona module.
with open("rio_glui/__init__.py") as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
# Runtime requirements.
inst_reqs = ["tornado==4.5.3", "rio-tiler~=1.0", "click", "rio-color"]
extra_reqs = {
"test": ["mock", "pytest", "pytest-cov"],
"dev": ["pytest", "pytest-cov", "pre-commit"],
}
setup(
name="rio-glui",
version=version,
description=u"Inspect CloudOptimized Geotiff using Mapbox GL JS",
long_description=readme,
classifiers=[
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering :: GIS",
],
keywords="COGEO CloudOptimized Geotiff rasterio Mapbox-GL",
author=u"Damon Burgett",
author_email="[email protected]",
url="https://github.com/mapbox/rio-glui",
license="BSD",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
install_requires=inst_reqs,
extras_require=extra_reqs,
entry_points="""
[rasterio.rio_plugins]
glui=rio_glui.scripts.cli:glui
""",
)