-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpyproject.toml
130 lines (121 loc) · 2.76 KB
/
pyproject.toml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
[project]
name="ecoscope"
dynamic = ["version"]
description="Standard Analytical Reporting Framework for Conservation"
readme = "README.rst"
authors = [
{ name = "Jake Wall", email = "[email protected]" }
]
license = {file = "LICENSE"}
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"backoff",
"earthengine-api",
"earthranger-client",
"geopandas",
"numpy",
"pyproj",
"rasterio",
"tqdm",
]
[project.urls]
Homepage = "https://ecoscope.io"
Repository = "https://github.com/wildlife-dynamics/ecoscope"
Tracker = "https://github.com/wildlife-dynamics/ecoscope/issues"
[project.optional-dependencies]
analysis = [
"astroplan",
"datashader",
"igraph",
"mapclassify",
"matplotlib",
"networkx",
"numba",
"scipy",
"scikit-image",
"scikit-learn",
]
async_earthranger = [
"earthranger-client @ git+https://github.com/PADAS/[email protected]",
]
mapping = [
"lonboard @ git+https://github.com/wildlife-dynamics/lonboard@a8adb48ec43fff795506db5a9e7e0103f877d65c",
"matplotlib",
"mapclassify",
]
plotting = [
"kaleido",
"plotly",
"scikit-learn",
]
test = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-reportlog",
]
docs = [
"myst-parser",
"nbsphinx",
"pydata-sphinx-theme",
"sphinx",
"sphinx-autoapi",
]
all = [
"ecoscope[analysis,async_earthranger,mapping,plotting,test,docs]",
]
[tool.pytest.ini_options]
testpaths = "tests"
filterwarnings = [
"ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning",
'ignore:Feature.geometry\(\) is deprecated. Use Element.geometry\(\):DeprecationWarning',
]
[tool.black]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.env
| _build
| buck-out
| build
| dist
| notebooks
| env
)/
'''
[tool.coverage.run]
source = ['ecoscope']
omit = ['ecoscope/contrib/*']
[tool.setuptools]
packages=[
"ecoscope",
"ecoscope.analysis",
"ecoscope.analysis.UD",
"ecoscope.base",
"ecoscope.contrib",
"ecoscope.io",
"ecoscope.mapping",
"ecoscope.plotting",
]
[tool.setuptools_scm]
write_to = "ecoscope/_version.py"
write_to_template = "__version__ = '{version}'"