Skip to content

Commit

Permalink
fix: pyo3 name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvictor committed Jan 7, 2024
1 parent c1056f6 commit 4cd77c5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 29 deletions.
2 changes: 1 addition & 1 deletion python/polars_talib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import polars as pl
from polars.type_aliases import IntoExpr
from polars.utils.udfs import _get_shared_lib_location
from ._polars_ta import initialize, shutdown, version
from ._polars_talib import initialize, shutdown, version


__talib_version__ = version()
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn version() -> PyResult<String> {

/// A Python module implemented in Rust.
#[pymodule]
#[pyo3(name = "_polars_ta")]
#[pyo3(name = "_polars_talib")]
fn polars_ta(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(initialize, m)?)?;
m.add_function(wrap_pyfunction!(shutdown, m)?)?;
Expand Down
27 changes: 0 additions & 27 deletions utils/build_talib.bash

This file was deleted.

0 comments on commit 4cd77c5

Please sign in to comment.