Comments (2)
The issue I ran into when trying to include a pyi
file is that the shared object is put in site-packages
and Python doesn't look for anything but metadata the dist-info
dir. The only other use case I can think of right now is licenses and docs. I have a branch that can handle that. I think packing anything that can be used by Python is ruled out, though.
from maturin.
I have a Python package and i would like to rewrite some portions of it in Rust. I'd need to copy the Python files alongside the compiled library, like so:
package/
__init__.py
stuff.py
package.cpython-37m-x86_64-linux-gnu.so
Maybe there's already a way of achieving this?
from maturin.
Related Issues (20)
- pep517 backend attempts to shlex.split config_settings HOT 3
- Pass through/replicate cargo's --vcs option HOT 6
- 3.12 support HOT 4
- Invalid python interpreter version HOT 1
- panic on bindings mismatch to manifest-dir HOT 1
- termux armv7 error install maturin HOT 1
- With a Mixed Python/Rust project, only Rust functions appear in Python Wheel. HOT 5
- Allow skip wheel installation in `maturin develop` command
- `uniffi-bindgen` required to be installed for `maturin` to work HOT 6
- package version suffix dropped in sdist build HOT 3
- Can't `cargo install maturin` anymore HOT 1
- sdist is missing tests HOT 8
- Add option to skip building extension module HOT 1
- Support uniffi library mode (proc-macro instead of UDL) HOT 1
- entry_point missing from maturin published packages HOT 1
- Cannot install maturin from crates.io with either stable or nightly HOT 1
- import_hook doesn't rebuild and reinstall the package if the Rust code changes HOT 1
- "No files found for pattern" never triggers with the include option in pyproject.toml
- ARM64 MacOS (aarch64) wheels include non-zero minor version, which doesn't match pypa publishing HOT 3
- Option to bypass the check of __init__.py 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.