Skip to content

Commit

Permalink
update name... for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nleroy917 committed May 16, 2024
1 parent 4757089 commit c43e342
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: upload
args: --repository-url https://pypi.org/project/textractors/ --non-interactive --skip-existing ./textractor-py/dist/*
args: --non-interactive --skip-existing ./textractor-py/dist/*
2 changes: 1 addition & 1 deletion textractor-py/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions textractor-py/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "textractor-py"
version = "0.1.0"
version = "0.1.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "textractor"
name = "textractors"
crate-type = ["cdylib"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion textractor-py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["maturin>=1.5,<2.0"]
build-backend = "maturin"

[project]
name = "textractor"
name = "textractors"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
Expand Down
2 changes: 1 addition & 1 deletion textractor-py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub mod extraction;

/// A Python module implemented in Rust.
#[pymodule]
fn textractor(_py: Python, m: &PyModule) -> PyResult<()> {
fn textractors(_py: Python, m: &PyModule) -> PyResult<()> {
m.add_function(wrap_pyfunction!(extraction::py_extract_text_from_file, m)?)?;
m.add_function(wrap_pyfunction!(extraction::py_extract_text_from_bytes, m)?)?;
Ok(())
Expand Down

0 comments on commit c43e342

Please sign in to comment.