pip install notice

This commit is contained in:
Christoph J. Scherr 2023-05-06 16:13:28 +02:00
parent 81716ed42f
commit 10eb27d3ea
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
2 changed files with 2 additions and 0 deletions

View File

@ -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!

View File

@ -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,