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
|
#ifndef VELOPACK_H
|
||||||
#define 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 */
|
/* THIS FILE IS AUTO-GENERATED - DO NOT EDIT */
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ edition.workspace = true
|
|||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "velopack"
|
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ version = "0.0.1"
|
|||||||
requires = ["maturin>=1.0,<2.0"]
|
requires = ["maturin>=1.0,<2.0"]
|
||||||
build-backend = "maturin"
|
build-backend = "maturin"
|
||||||
|
|
||||||
|
[tool.maturin]
|
||||||
|
module-name = "velopack"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"maturin>=1.8.6",
|
"maturin>=1.8.6",
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ mod manager;
|
|||||||
use manager::UpdateManagerWrapper;
|
use manager::UpdateManagerWrapper;
|
||||||
|
|
||||||
#[pymodule]
|
#[pymodule]
|
||||||
|
#[pyo3(name = "velopack")]
|
||||||
fn velopack(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
fn velopack(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
||||||
pyo3_log::init();
|
pyo3_log::init();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user