Fix version in docs
This commit is contained in:
parent
8acc5289cc
commit
7086141f85
|
@ -14,7 +14,7 @@ If you have e.g. a library crate and a profiling crate alongside, you need to us
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
pyo3 = "0.5.2"
|
||||
pyo3 = "0.6"
|
||||
|
||||
[lib]
|
||||
name = "hyperjson"
|
||||
|
@ -29,7 +29,7 @@ And this in the profiling crate:
|
|||
```toml
|
||||
[dependencies]
|
||||
my_main_crate = { path = "..", default-features = false }
|
||||
pyo3 = "0.5.2"
|
||||
pyo3 = "0.6"
|
||||
```
|
||||
|
||||
On linux/mac you might have to change `LD_LIBRARY_PATH` to include libpython, while on windows you might need to set `LIB` to include `pythonxy.lib` (where x and y are major and minor version), which is normally either in the `libs` or `Lib` folder of a python installation.
|
||||
|
|
|
@ -84,7 +84,7 @@ Add `pyo3` this to your `Cargo.toml`:
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
pyo3 = "0.5"
|
||||
pyo3 = "0.6"
|
||||
```
|
||||
|
||||
Example program displaying the value of `sys.version`:
|
||||
|
|
Loading…
Reference in New Issue