-
Notifications
You must be signed in to change notification settings - Fork 424
/
pyproject.toml
70 lines (63 loc) · 2.1 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
# SPDX-FileCopyrightText: 2023 LakeSoul Contributors
#
# SPDX-License-Identifier: Apache-2.0
[build-system]
requires = ["setuptools >= 62.1.0", "wheel", "cython >= 0.29.31,<3", "grpcio[protobuf] ~= 1.57"]
build-backend = "setuptools.build_meta"
[project]
name = "lakesoul"
version = "1.0.0b2"
authors = [
{ name="LakeSoul Team", email="lakesoul-technical-discuss@lists.lfaidata.foundation" },
]
description = "Python APIs for using LakeSoul"
readme = "README.md"
license = { text="Apache-2.0" }
requires-python = ">=3.8"
keywords = ["lakesoul", "bigdata", "ai"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
]
dependencies = [
"pyarrow==16.1.0",
"numpy<2.0",
"protobuf~=5.0",
]
[project.urls]
"Homepage" = "https://github.com/lakesoul-io/LakeSoul"
"Bug Tracker" = "https://github.com/lakesoul-io/LakeSoul/issues"
[tool.setuptools.packages.find]
where = ["python"]
include = ["lakesoul*"]
[project.optional-dependencies]
torch = ["torch>=1.11"]
pandas = ["pandas>=1.4"]
datasets = ["datasets>=2.14", "urllib3<2,>=1.21.1"]
ray = ["ray>=2.7"]
all = [
"torch>=1.11",
"pandas>=1.4",
"datasets>=2.14",
"urllib3<2,>=1.21.1",
"ray>=2.7",
]
[tool.cibuildwheel]
manylinux-x86_64-image = "dmetasoul/lakesoul-python-wheel-build-env-manylinux_2_28:v1.0.0"
build = "*-manylinux_x86_64"
skip = ["cp36-*", "cp37-*", "cp311-*", "cp312-*", "pp*"]
[tool.cibuildwheel.linux]
before-build = "rm -rf {project}/cpp/build && {project}/cpp/compile.sh"
repair-wheel-command = """\
auditwheel repair --plat manylinux_2_28_x86_64 \
--exclude libarrow_python.so \
--exclude libarrow_dataset.so.1601 \
--exclude libarrow_acero.so.1601 \
--exclude libparquet.so.1601 \
--exclude libarrow.so.1601 \
-w {dest_dir} {wheel}\
"""