-
I'm trying to find out the simplest path towards substituting a module of a Poetry managed Python project with some Rust code. I get the feeling that Maturin does great things, but that there's some ease-of-use missing. What would be a sensible default setup for the following case: CaseLet's say my project structure looks like:
Let's assume that def double(x):
return 2 * x E.g. Python wants the Rust lib to do something, but the Rust lib couldn't care less if it were invoked by Python or any other means. GoalHow would I replace my_module.py with one or more
I'm imagining that at least for some OS/arch the tree would become:
Method
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Before I go through every question you asked, I recommend you read the maturin docs first, particularly tutorial and distribution, I hope it will answer some of your questions. |
Beta Was this translation helpful? Give feedback.
-
you can try hatch |
Beta Was this translation helpful? Give feedback.
-
Hello! Do you have any success in building a wheel using |
Beta Was this translation helpful? Give feedback.
Before I go through every question you asked, I recommend you read the maturin docs first, particularly tutorial and distribution, I hope it will answer some of your questions.