Skip to content

Commit 50d23b6

Browse files
committed
Fix Python package name
1 parent 5bad02d commit 50d23b6

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[package]
2-
name = "libsql-python"
2+
name = "pylibsql"
33
version = "0.1.0"
44
edition = "2021"
55

66
[lib]
7-
name = "libsql_python"
87
crate-type = ["cdylib"]
98

109
[dependencies]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ classifiers = [
1515

1616
[tool.maturin]
1717
features = ["pyo3/extension-module"]
18+
module-name = "libsql"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ fn convert_row(py: Python, row: libsql_core::Row, column_count: i32) -> PyResult
643643
create_exception!(libsql, Error, pyo3::exceptions::PyException);
644644

645645
#[pymodule]
646-
fn libsql_python(py: Python, m: &PyModule) -> PyResult<()> {
646+
fn libsql(py: Python, m: &PyModule) -> PyResult<()> {
647647
let _ = tracing_subscriber::fmt::try_init();
648648
m.add("LEGACY_TRANSACTION_CONTROL", LEGACY_TRANSACTION_CONTROL)?;
649649
m.add("paramstyle", "qmark")?;

0 commit comments

Comments
 (0)