-
Notifications
You must be signed in to change notification settings - Fork 756
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (93 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
101 lines (93 loc) · 2.98 KB
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
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
[build-system]
requires = ["setuptools", "wheel", "numpy"]
build-backend = "setuptools.build_meta"
[project]
name = "apache-sedona"
version = "1.8.1"
description = "Apache Sedona is a cluster computing system for processing large-scale spatial data"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [ { name = "Apache Sedona", email = "[email protected]" } ]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
]
dependencies = [
"attrs",
"shapely>=1.7.0",
]
[project.optional-dependencies]
spark = ["pyspark>=3.4.0,<4.1.0"]
pydeck-map = ["geopandas", "pydeck==0.8.0"]
kepler-map = ["geopandas", "keplergl==0.3.2"]
flink = ["apache-flink>=1.19.0"]
db = ["sedonadb[geopandas]; python_version >= '3.9'"]
all = [
"pyspark>=3.4.0,<4.1.0",
"geopandas",
"pydeck==0.8.0",
"keplergl==0.3.2",
"rasterio>=1.2.10",
]
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"notebook==6.4.12",
"jupyter",
"mkdocs",
"scikit-learn",
"esda",
"libpysal",
"matplotlib", # implicit dependency of esda
# prevent incompatibility with pysal 4.7.0, which is what is resolved to when shapely >2 is specified
"scipy<=1.10.0",
"pandas>=2.0.0",
"numpy<2",
"geopandas",
# https://stackoverflow.com/questions/78949093/how-to-resolve-attributeerror-module-fiona-has-no-attribute-path
# cannot set geopandas>=0.14.4 since it doesn't support python 3.8, so we pin fiona to <1.10.0
"fiona<1.10.0",
"pyarrow",
"pyspark>=3.4.0,<4.1.0",
"keplergl==0.3.2",
"pydeck==0.8.0",
"pystac==1.5.0",
"rasterio>=1.2.10",
]
[project.urls]
HomePage = "https://sedona.apache.org"
Documentation = "https://sedona.apache.org"
"Source code" = "https://github.com/apache/sedona"
"Bug Reports" = "https://issues.apache.org/jira/projects/SEDONA"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["sedona*"]
exclude = ["*.tests", "*.tests.*", "tests", "tests.*"]
# C extension module for geometry serialization speedup
[[tool.setuptools.ext-modules]]
name = "sedona.spark.utils.geomserde_speedup"
sources = [
"src/geomserde_speedup_module.c",
"src/geomserde.c",
"src/geom_buf.c",
"src/geos_c_dyn.c",
]