mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 15:12:53 +00:00
This changes `lancedb` from a "pure python" setuptools project to a maturin project and adds a rust lancedb dependency. The async python client is extremely minimal (only `connect` and `Connection.table_names` are supported). The purpose of this PR is to get the infrastructure in place for building out the rest of the async client. Although this is not technically a breaking change (no APIs are changing) it is still a considerable change in the way the wheels are built because they now include the native shared library.
27 lines
735 B
TOML
27 lines
735 B
TOML
[package]
|
|
name = "lancedb-python"
|
|
version = "0.4.10"
|
|
edition.workspace = true
|
|
description = "Python bindings for LanceDB"
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
|
|
|
|
[lib]
|
|
name = "_lancedb"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
lancedb = { path = "../rust/lancedb" }
|
|
env_logger = "0.10"
|
|
pyo3 = { version = "0.20", features = ["extension-module", "abi3-py38"] }
|
|
pyo3-asyncio = { version = "0.20", features = ["attributes", "tokio-runtime"] }
|
|
|
|
# Prevent dynamic linking of lzma, which comes from datafusion
|
|
lzma-sys = { version = "*", features = ["static"] }
|
|
|
|
[build-dependencies]
|
|
pyo3-build-config = { version = "0.20.3", features = ["extension-module", "abi3-py38"] }
|