PyO3 / maturin-action

GitHub Action to install and run a custom maturin command with built-in support for cross compilation
MIT License
127 stars 35 forks source link

No pyproject.toml found with alternative mixed Rust/Python project structure #253

Closed KCrux closed 6 months ago

KCrux commented 6 months ago

Hello everyone, I have a problem when I try to build a wheel when I use the alternative mixed Rust/Python project structure as suggested in the docs (https://www.maturin.rs/project_layout#alternate-python-source-directory-src-layout): _No pyproject.toml found at /home/runner/work/rainflow_counting/rainflowcounting/rust/pyproject.toml, fallback to latest

Is there any way to specify the path, as I can to it for the Cargo.toml file with --manifest-path?

If I run on ubuntu-latest, this results in an error. I don't know what exactly happens when I run on windows/macos.

Here are the relevant logs and the ci.yaml (renamed to ci.txt, because Github didn't let me upload it otherwise): 8_build_windows (windows-latest, x86, 3.10).txt 0_build_linux (ubuntu-latest, x86_64, 3.10).txt ci.txt

Any help is very much appreciated.