File tree Expand file tree Collapse file tree 8 files changed +5
-81
lines changed Expand file tree Collapse file tree 8 files changed +5
-81
lines changed Original file line number Diff line number Diff line change 4
4
.eggs
5
5
/dist
6
6
/build
7
- / * .egg-info
7
+ * .egg-info
8
8
Cargo.lock
9
- /example /build /
10
- /example /dist /
11
- /example /target /
12
- /example /* .egg-info
13
- .idea /
Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ Setuptools plugin for Rust extensions support
4
4
5
5
.. image :: https://travis-ci.org/PyO3/setuptools-rust.svg?branch=master
6
6
:target: https://travis-ci.org/PyO3/setuptools-rust
7
- :align: right
8
7
9
8
.. image :: https://badge.fury.io/py/setuptools-rust.svg
10
9
:target: https://badge.fury.io/py/setuptools-rust
11
10
12
-
13
11
Setuptools helpers for rust Python extensions implemented with `PyO3 python binding <https://github.com/PyO3/pyo3 >`_.
14
12
15
13
Compile and distribute Python extensions written in rust as easily as if they were written in C.
16
14
17
15
Example
18
16
-------
19
17
18
+ For a complete example, see `word-count <https://github.com/PyO3/pyo3/tree/master/examples/word-count >`_.
19
+
20
20
setup.py
21
21
^^^^^^^^
22
22
@@ -57,17 +57,14 @@ You can use same commands as for c-extensions. For example::
57
57
Finished processing dependencies for hello_rust==1.0
58
58
59
59
60
- Or you can use commands like `bdist_wheel ` or `bdist_egg `.
60
+ Or you can use commands like `bdist_wheel ` (after installing ` wheel `) or `bdist_egg `.
61
61
62
- You can build `manylinux1 ` binary wheels using Docker:
62
+ You can build `manylinux1 ` binary wheels using Docker, e.g. with the ` build-wheels.sh ` script :
63
63
64
64
.. code-block :: bash
65
65
66
66
docker run --rm -v ` pwd` :/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh
67
67
68
- `build-wheels.sh ` example can be found here:
69
- https://github.com/PyO3/setuptools-rust/blob/master/example/build-wheels.sh
70
-
71
68
RustExtension
72
69
-------------
73
70
File renamed without changes.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments