Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python bindings instructions #451

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/PythonBinding.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

1. Ensure `cargo build` works fine.
2. There are two ways of running generating bindings. This describes the steps where maturin is manually installed.
- Manually install [maturin](https://github.com/PyO3/maturin) via `pip install maturin`
- `maturin build --release --no-sdist --strip --manylinux off` This command auto detects the python interpreter and uses it. To
- Manually install [maturin](https://github.com/PyO3/maturin) via `pip install maturin==0.14`
- `maturin build --release --strip --manylinux off` This command auto detects the python interpreter and uses it. To
specify a specific interpreter using `--interpreter` option.
- `maturin sdist` to generate the source distribution.
3. Steps to generate bindings using a docker approach.
- `docker run --rm -v --release --no-sdist --strip --manylinux off`
- `docker run --rm -v --release --strip --manylinux off`
4. After the bindings are generated by either 2 or 3 the next step is to publish the artifacts.
- The artifacts can be published via [twine](https://github.com/pypa/twine)
- `pip install twine`
Expand Down
Loading