Bugfixes for building Python extension module
This commit is contained in:
parent
d3c162ab79
commit
c9e7418b3a
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lasprs"
|
||||
version = "0.4.2"
|
||||
version = "0.5.0"
|
||||
edition = "2021"
|
||||
authors = ["J.A. de Jong <j.a.dejong@ascee.nl>"]
|
||||
description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)"
|
||||
|
@ -10,7 +10,7 @@ classifiers = [
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
]
|
||||
|
||||
dynamic = ["version"]
|
||||
dependencies = ["numpy"]
|
||||
|
||||
[tool.maturin]
|
||||
|
@ -71,7 +71,6 @@ pub fn add_py_classses(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
||||
m.add_class::<DataType>()?;
|
||||
m.add_class::<Qty>()?;
|
||||
m.add_class::<StreamType>()?;
|
||||
m.add_class::<StreamError>()?;
|
||||
m.add_class::<StreamStatus>()?;
|
||||
m.add_class::<StreamError>()?;
|
||||
m.add_class::<DaqChannel>()?;
|
||||
|
@ -1,4 +1,5 @@
|
||||
use strum_macros::Display;
|
||||
use crate::config::*;
|
||||
|
||||
/// Errors that happen in a stream
|
||||
#[derive(strum_macros::EnumMessage, Debug, Clone, Display, Copy)]
|
||||
|
Loading…
Reference in New Issue
Block a user