Skip to content
Discussion options

You must be logged in to vote

This happens because maturin creates a Python package containing an extension module with the same name, rather than a bare extension module.

pyo3_test.pyo3_test in your case refers to the inner extension module (the DSO/DLL binary built with rustc).

There are good reasons to use this layout, such as adding Python type stubs files (.pyi) to the package (see PEP 561).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pydsigner
Comment options

Answer selected by pydsigner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants