Comments (3)
This appears to be because it assumes the pyproject.toml to be in the same directory as Cargo.toml.
Actually it assumes Cargo.toml to be located in the same directory or subdirectory as pyproject.toml, but you can specify manifest-path
in [tool.maturin]
section of pyproject.toml
, but now you have to run maturin in the pyproject.toml directory instead of passing --manifest-path
in CLI.
from maturin.
I did a little debugging in maturin yesterday. This appears to be because it assumes the pyproject.toml to be in the same directory as Cargo.toml. I tried to refactor this following a pattern I used with another cffi based project where it would have a empty dummy crate that just forwarded definitions. I didn't have any luck with this
from maturin.
That fixed it! Thank you!
from maturin.
Related Issues (20)
- [bug] Maturin's wheel contains two copies of LICENSE when using license-file in workspace crate Cargo.toml
- data always set file permission as executable HOT 1
- Ability to specify `tool.maturin.source` similar to `tool.poetry.source` HOT 2
- generate-ci'd emscripten pytest fails before reaching module code HOT 5
- Cannot figure out how to use `--config` to override a value from the pyproject.toml HOT 2
- .sig/.crt signing artifacts no longer uploaded to Github Releases HOT 1
- What happened to `maturin new`?
- CARGO=cross uses wrong --manifest-path HOT 2
- Compile UniFFI interfaces defined in sibling libraries HOT 5
- Allow for env to silence "missing build backend" warning HOT 3
- Use user-specified library search paths in `RUSTFLAGS` in auditwheel HOT 1
- Maturin infers target is apple darwin on linux HOT 6
- Improve iOS target support
- Allow overriding python platform with `_PYTHON_HOST_PLATFORM` env var HOT 2
- RECORD file is missing entries for some files HOT 7
- Windows aarch64 build fails: "no cab files were referenced by the MSI" HOT 2
- Adapt rustc 1.79 HOT 1
- Package Independent Configuration
- Generated Github release workflow does not build wheels for Python 3.8 - 3.10 for MacOS HOT 1
- Maturin is buggy when Cargo.toml sets `license-file.workspace = true` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maturin.