M
Modular2mo ago
stu002

Canonical way to add NuMojo to a Mojo project?

Looking at the NuMojo documentation there are directions for building a Mojo packages and making it visible to a Mojo project. Is there a "canonical" way of adding multiple packages like NuMojo to an existing Mojo project? I'm thinking of having a project/vendor or project/lib directory to host these external packages.
4 Replies
Darkmatter
Darkmatter2mo ago
There's some work on setting up a package similar to npm or crates.io. Most community members have agreed that this what we should be moving towards so we haven't standardized a way to include another project yet.
stu002
stu002OP2mo ago
Thanks I’ll go with vendor directory in the interim
PhoToN 旭輝
PhoToN 旭輝2mo ago
We are currently planning to host NuMojo on prefix.dev where many community project are currently hosted. Once that's done, NuMojo will be added as a dependancy by magic once you modify the .toml file.
prefix.dev
prefix.dev – solving software package management
The software package management platform for Python, C++, R, Rust and more
stu002
stu002OP2mo ago
Nice!
Want results from more Discord servers?
Add your server