-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
81 lines (70 loc) · 2.26 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
[project]
name = "tiledb-vector-search"
dynamic = ["version"]
description = "TileDB Vector Search Python client"
license = { text = "MIT" }
readme = "README.md"
authors = []
requires-python = "~=3.7"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
# These are the runtime depdendencies.
dependencies = [
"tiledb-cloud>=0.11",
"tiledb>=0.32.0",
"typing-extensions", # for tiledb-cloud indirect, x-ref https://github.com/TileDB-Inc/TileDB-Cloud-Py/pull/428
"scikit-learn",
"numpy>=1.25.0",
]
[project.optional-dependencies]
test = ["nbmake", "pytest<8.0.0", "pytest-xdist"]
formatting = ["pre-commit"]
benchmarks = ["boto3", "paramiko", "matplotlib"]
[project.urls]
homepage = "https://tiledb.com"
repository = "https://github.com/TileDB-Inc/tiledb-vector-search"
# These are the build-time depdendencies.
[build-system]
requires = ["scikit-build-core[pyproject]", "pybind11", "setuptools-scm", "numpy>=2.0.0"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
wheel.expand-macos-universal-tags = true
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
cmake.source-dir = "src"
cmake.targets = ["skbuild-export"]
sdist.include = [
"apis/python/src/tiledb/vector_search/version.py",
"src/config.h"
]
sdist.exclude = [
".github"
]
wheel.packages = ["apis/python/src/tiledb"]
# We need to run cmake during packaging step in order to generate src/config.h and
# thus not including .git to generate it later
sdist.cmake = true
cmake.build-type = "RelWithDebInfo"
install.strip = false
[tool.scikit-build.cmake.define]
TILEDB_VS_PYTHON = "ON"
TILEDB_PATH = {env="TILEDB_PATH"}
[tool.setuptools_scm]
version_file = "apis/python/src/tiledb/vector_search/version.py"
[tool.ruff.lint]
select = ["NPY201"]
[tool.ruff]
extend-select = ["I"]
ignore = ["F403", "F405", "E501", "E741"]
exclude = [".ipynb"]
[tool.ruff.isort]
known-first-party = ["tiledb"]
force-single-line = true
single-line-exclusions = ["typing", "typing_extensions"]