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)
- Mixted rust/python project fails to install on windows with maturin 1.7 HOT 3
- v1.7.0 from v1.6.0 introduces a rustls version conflict preventing v.1.7.0 from compiling HOT 1
- Support for different package managers like poetry, uv, rye HOT 1
- CentOS 7 Deprecation & Possibility to upgrade base image HOT 1
- Issue with README building sdist HOT 7
- Build succeeds but wheel is broken on cross compile. HOT 1
- Incompatible with conda or venv, with error "markers XXX don't match your environment" HOT 5
- Add a way to override the resultant Python package version HOT 1
- `cargo metadata --manifest-path Cargo.toml --format-version 1 --locked` errors on macos-12 builds HOT 7
- can't find crate `num_enum_derive` HOT 11
- Gentoo Linux: dev-util/maturin-1.7.0 QA Notice: setuptools warnings detected: `install_requires` overwritten in `pyproject.toml` (dependencies)
- Cannot publish projects to PyPi HOT 1
- Move maturin project metadata from `setup.py` to `pyproject.toml`
- wheel `License-File` metadata is missing the relative path `license_files/`
- Make CI faster and more reliable
- Update to latest cargo deny release
- `--uv` does not allow passing in `--break-system-packages` on system Python HOT 3
- How can I specify a crate version for maturin to compile? HOT 1
- maturin develop builds for mixed python versions HOT 1
- Panic running sdist when `python-source` points outside of Rust source directory HOT 2
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.