-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
executable file
·65 lines (59 loc) · 1.62 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
54
55
56
57
58
59
60
61
62
63
64
65
import os
from codecs import open as codecs_open
from setuptools import setup, find_packages
from mapbox_tilesets import __version__
# Get the long description from the relevant file
with codecs_open("README.md", encoding="utf-8") as f:
long_description = f.read()
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="mapbox-tilesets",
version=__version__,
description="CLI for interacting with and preparing data for the Tilesets API",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[],
keywords="",
author="Mapbox",
author_email="sam@mapbox.com",
url="https://github.com/mapbox/tilesets-cli",
license="BSD-2",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
install_requires=[
"boto3",
"click~=8.0.2",
"cligj",
"numpy",
"requests",
"requests-toolbelt",
"jsonschema~=3.0",
"jsonseq~=1.0",
"mercantile~=1.1.6",
"geojson~=2.5.0",
],
include_package_data=True,
zip_safe=False,
extras_require={
"estimate-area": [
"supermercado~=0.2.0",
],
"estimate-cu": [
"rasterio~=1.4.1",
],
"test": [
"codecov",
"pytest==6.2.5",
"pytest-cov",
"pre-commit",
"black==22.3.0",
"pep8",
"supermercado~=0.2.0",
"toml==0.10.2",
],
},
entry_points="""
[console_scripts]
tilesets=mapbox_tilesets.scripts.cli:cli
""",
)