-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
76 lines (70 loc) · 1.74 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
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python3
import os
from setuptools import find_packages, setup
# Where are we?
IS_SANDBOX = "sandbox" in os.getenv("JUPYTER_IMAGE", default="")
# What packages are required for this module to be executed?
REQUIRED = [
"aiohttp",
"affine",
"botocore",
"click",
"dask",
"datacube",
"dea_tools",
"Fiona",
"geopandas",
"matplotlib",
"mdutils",
"numpy",
"odc-geo",
"odc_ui",
"pandas",
"pygeos",
"pyproj",
"pytest",
"pytest-dependency",
"pytest-cov",
"pyTMD",
"python_geohash",
"pytz",
"PyYAML",
"rasterio",
"scikit_image",
"scikit_learn",
"scipy",
"setuptools",
"Shapely",
"tqdm",
"xarray",
]
# Package metadata
NAME = "dea_coastlines"
DESCRIPTION = "Tools for running Digital Earth Australia Coastlines"
URL = "https://github.com/GeoscienceAustralia/dea-coastlines"
EMAIL = "Robbi.BishopTaylor@ga.gov.au"
AUTHOR = "Robbi Bishop-Taylor"
REQUIRES_PYTHON = ">=3.8.0"
# Setup kwargs
setup_kwargs = {
"name": NAME,
"description": DESCRIPTION,
"long_description": DESCRIPTION,
"long_description_content_type": "text/markdown",
"author": AUTHOR,
"author_email": EMAIL,
"python_requires": REQUIRES_PYTHON,
"url": URL,
"install_requires": REQUIRED if not IS_SANDBOX else [],
"packages": find_packages(),
"include_package_data": True,
"license": "Apache License 2.0",
"entry_points": {
"console_scripts": [
"deacoastlines-raster = coastlines.raster:generate_rasters_cli",
"deacoastlines-vector = coastlines.vector:generate_vectors_cli",
"deacoastlines-continental = coastlines.continental:continental_cli",
]
},
}
setup(**setup_kwargs)