Fix python lib module name

This commit is contained in:
Caelan Sayler
2025-06-15 14:51:57 +01:00
committed by Caelan
parent b746959ea8
commit eb0cbb2df1
4 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#ifndef VELOPACK_H
#define VELOPACK_H
/* Generated with cbindgen:0.28.0 */
/* Generated with cbindgen:0.29.0 */
/* THIS FILE IS AUTO-GENERATED - DO NOT EDIT */

View File

@@ -10,7 +10,6 @@ edition.workspace = true
rust-version.workspace = true
[lib]
name = "velopack"
crate-type = ["cdylib"]
[dependencies]

View File

@@ -8,6 +8,9 @@ version = "0.0.1"
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.maturin]
module-name = "velopack"
[dependency-groups]
dev = [
"maturin>=1.8.6",

View File

@@ -11,6 +11,7 @@ mod manager;
use manager::UpdateManagerWrapper;
#[pymodule]
#[pyo3(name = "velopack")]
fn velopack(m: &Bound<'_, PyModule>) -> PyResult<()> {
pyo3_log::init();