mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix python lib module name
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
name = "velopack"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -11,6 +11,7 @@ mod manager;
|
||||
use manager::UpdateManagerWrapper;
|
||||
|
||||
#[pymodule]
|
||||
#[pyo3(name = "velopack")]
|
||||
fn velopack(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
||||
pyo3_log::init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user