File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
1 . Ensure ` cargo build ` works fine.
7
7
2 . There are two ways of running generating bindings. This describes the steps where maturin is manually installed.
8
- - Manually install [ maturin] ( https://github.com/PyO3/maturin ) via ` pip install maturin `
9
- - ` maturin build --release --no-sdist -- strip --manylinux off ` This command auto detects the python interpreter and uses it. To
8
+ - Manually install [ maturin] ( https://github.com/PyO3/maturin ) via ` pip install maturin==0.14 `
9
+ - ` maturin build --release --strip --manylinux off ` This command auto detects the python interpreter and uses it. To
10
10
specify a specific interpreter using ` --interpreter ` option.
11
11
- ` maturin sdist ` to generate the source distribution.
12
12
3 . Steps to generate bindings using a docker approach.
13
- - ` docker run --rm -v --release --no-sdist -- strip --manylinux off `
13
+ - ` docker run --rm -v --release --strip --manylinux off `
14
14
4 . After the bindings are generated by either 2 or 3 the next step is to publish the artifacts.
15
15
- The artifacts can be published via [ twine] ( https://github.com/pypa/twine )
16
16
- ` pip install twine `
17
17
- ` twine upload -r testpypi target/* ` this command uploads the artifacts to test.pypi
18
18
- ` twine upload target/* ` this command uploads the artifacts to pypi.
19
19
- The artifacts can be published via [ maturin] ( https://github.com/PyO3/maturin )
20
20
- ` maturin publish -b pyo3 -p XXX -u YYY -r https://test.pypi.org/legacy/ ` this publishes the bindings to test.pypi
21
- - ` maturin publish -b pyo3 -p XXX -u YYY ` This publishes the bindings to pypi.
21
+ - ` maturin publish -b pyo3 -p XXX -u YYY ` This publishes the bindings to pypi.
You can’t perform that action at this time.
0 commit comments