-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
185 lines (154 loc) · 4.08 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
[tool.poetry]
name = "lambda-project"
version = "0.1.0"
description = "Lambda Project"
authors = ["Darren Weber <[email protected]>"]
readme = "README.md" # Markdown files are supported
repository = "https://github.com:dazza-codes/aws-lambda-layer-packing.git"
homepage = "https://github.com:dazza-codes/aws-lambda-layer-packing.git"
keywords = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
]
include = ["lambda_project/**/*"]
exclude = ["tests/**/*"]
packages = [
{include = "lambda_project"}
]
[tool.poetry.dependencies]
python = ">=3.6.1,<4.0.0" # see tox below too
dataclasses = {version = "*", python = "~3.6.0"}
# boto3 and things that depend on it; patch updates OK, see:
# https://docs.aws.amazon.com/lambda/latest/dg/lambda-python.html
# Also consider what is supported by aiobotocore, see:
# https://github.com/aio-libs/aiobotocore/blob/master/setup.py
boto3 = "~1.15.0"
botocore = "~1.18.0"
s3fs = "^0.4.2"
#
# package versions are pinned and also used in lambda/*.sh builds
#
numpy = "^1.18.1" # and things depending on numpy
geopandas = "^0.8.0" # includes pandas
pandas = "^1.1"
geojson = "^2.5.0"
fiona = "^1.8.13" # for geopandas
pyproj = "2.6.1" # updates to proj 7
shapely = "^1.7.1" # for geopandas
rasterio = "^1.1.7"
rasterstats = "0.14.0"
s2sphere = "^0.2.5"
# utils
pydantic = {extras = ["dotenv"], version = "^1.7.2"}
requests = "^2.23"
#
# optional packages
#
dask = {version = "^2.10", extras = ["complete"], optional = true}
jupyterlab = {version = "^2.2.9", optional = true}
ipyparallel = {version = "^6.3.0", optional = true}
pycrs = { version = "^1.0.1", optional = true }
geopy = { version = "^2.0", optional = true }
pyepsg = {version = "^0.4.0", optional = true}
bokeh = {version = "^2.1.1", optional = true}
contextily = {version = "^1.0.1", optional = true}
matplotlib = {version = "^3.3.2", optional = true}
seaborn = {version = "^0.11.0", optional = true}
netcdf4 = { version = "^1.5.4", optional = true }
scipy = {version = "^1.5.3", optional = true}
xarray = {version = "^0.16.1", optional = true}
zarr = {version = "^2.5.0", optional = true}
# Optional Parquet packages
pyarrow = { version = "^1.0.0", optional = true }
# Optional SQL packages
geoalchemy2 = {version = "^0.8.4", optional = true}
aws-psycopg2 = {version = "~1.2", optional = true}
pendulum = {version = "^2.1.2", optional = true}
[tool.poetry.extras]
all = [
# Graphics
"bokeh",
"contextily",
"matplotlib",
"seaborn",
# GIS
"geopy",
"pyepsg",
# Parquet
"pyarrow",
# Sci
"dask",
"netcdf4",
"scipy",
"xarray",
"zarr",
# SQL
"aws-psycopg2",
"geoalchemy2",
# Utils
"pendulum",
]
gis =[
"numpy",
"geopandas",
"geojson",
"fiona",
"pyproj",
"shapely",
"rasterio",
"rasterstats",
"s2sphere",
]
geopy = ["geopy"]
pycrs = ["pycrs"]
pyepsg = ["pyepsg"]
bokeh = ["bokeh"]
contextily = ["contextily"]
matplotlib = ["matplotlib"]
seaborn = ["seaborn"]
graphics = [
"bokeh",
"contextily",
"matplotlib",
"seaborn",
]
jupyter = [
"jupyterlab",
"ipyparallel"
]
dask = ["dask"]
netcdf4 = ["netcdf4"]
scipy = ["scipy"]
xarray = ["xarray"]
zarr = ["zarr"]
sci = [
"dask",
"numpy",
"pandas",
"scipy",
"netcdf4",
"xarray",
"zarr",
]
pyarrow = ["pyarrow"]
sql = [
"aws-psycopg2",
"geoalchemy2"
]
[tool.poetry.dev-dependencies]
# requirements.dev is used to manage and install
# development dependencies, to avoid excessive delays
# in 'poetry update' when it tries to resolve all version
# conflicts in the dependency tree, including dev-deps;
# this also helps to avoid excess conflicts between dev-deps
# and actual project dependencies. It is not as reliable
# as using poetry to manage it all, so liberal use of
# 'pip check' is recommended. Only add some minimal,
# essentials dev-deps here so poetry+pip works OK.
pytest = "^6.1.2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"