pip install notice
This commit is contained in:
parent
81716ed42f
commit
10eb27d3ea
|
@ -16,6 +16,7 @@ It boils down to the following steps:
|
||||||
- Create a virtual environment in the root of the repository. I used `python -m venv .venv` for this. Activate the venv.
|
- Create a virtual environment in the root of the repository. I used `python -m venv .venv` for this. Activate the venv.
|
||||||
- Install maturin `pip install maturin --user`
|
- Install maturin `pip install maturin --user`
|
||||||
- compile the plexcryptool python module using `maturin develop -r` or `maturin build --release`
|
- compile the plexcryptool python module using `maturin develop -r` or `maturin build --release`
|
||||||
|
- install the module with pip: `pip install target/wheels/plexcryptool-X.X.X-cp311-cp311-manylinux_2_34_x86_64.whl`
|
||||||
- compile the plexcryptool executable using `cargo run --release` or install it to your system with `cargo install --path .`
|
- compile the plexcryptool executable using `cargo run --release` or install it to your system with `cargo install --path .`
|
||||||
|
|
||||||
Thats it!
|
Thats it!
|
||||||
|
|
|
@ -49,6 +49,7 @@ pub fn modular_exponentiation(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[pyfunction]
|
#[pyfunction]
|
||||||
|
#[pyo3(name="modular_exponentiation")]
|
||||||
pub fn py_modular_exponentiation(
|
pub fn py_modular_exponentiation(
|
||||||
base: i128,
|
base: i128,
|
||||||
orig_exp: i128,
|
orig_exp: i128,
|
||||||
|
|
Loading…
Reference in New Issue