|
Hello, I’m using maturin with the mixed Rust/Python repo layout to build a wheel. My project layout is the same as the one described in the documentation. Running However, instead of packaging To achieve this, I tried pointing maturin to the directory with the compiled Cython files using the My question is:
|
Replies: 1 comment
|
As it turns out, the The fact that maturin uses
In my original pure Python project the As a side remark, when creating the Rust crate for my mixed Python/Rust project, my IDE automatically generated a Anyway, the problem was fixed by simply removing |
As it turns out, the
.pydfiles generated as a result of the cythonization and compilation of the Python source code were not being included because they were listed in.gitignore.The fact that maturin uses
.gitignoreto decide which files to include during the build is only briefly mentioned in the documentation here (v1.12.6).In my original pure Python project the
.pydfiles are added to.gitignore. However,setuptoolsstill manages to include them when building the wheel. I found maturin’s behavior …