Debian Codegraph @

test-crates/pyo3-mixed-py-subdir/README.md

raw
1 # pyo3-mixed
2
3 A package for testing maturin with a mixed pyo3/python project and a non-default package name.
4
5 ## Usage
6
7 ```bash
8 pip install .
9 ```
10
11 ```python
12 import pyo3_mixed_py_subdir
13 assert pyo3_mixed_py_subdir.get_42() == 42
14 ```
15
16 ## Testing
17
18 Install tox:
19
20 ```bash
21 pip install tox
22 ```
23
24 Run it:
25
26 ```bash
27 tox
28 ```
29
30 The tests are in `test_pyo3_mixed.py`, while the configuration is in tox.ini