Updated README.md to add installation instruction for Python shared library on Fedora

This commit is contained in:
Santo K Thomas 2022-11-19 21:46:42 +05:30 committed by David Hewitt
parent 57d188bd56
commit 2400d11b24
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ To install the Python shared library on Ubuntu:
sudo apt install python3-dev
```
To install the Python shared library on RPM based distributions (e.g. Fedora, Red Hat, SuSE), install the `python3-devel` package.
Start a new project with `cargo new` and add `pyo3` to the `Cargo.toml` like this:
```toml