cnpryer / huak

My experimental Python package manager.
https://cnpryer.github.io/huak/
MIT License
615 stars 37 forks source link

Initialize projects with toolchains #869

Open cnpryer opened 9 months ago

cnpryer commented 9 months ago

Summary

Related to #868, when a project is initialized or created a toolchain can be assigned. Need to decide if this is opt-in or opt-out.

Motivation

Details

huak init --toolchain <channel>

The init command will do more for users. In addition to current behavior, projects can be initialized with toolchains to use. This would enter the scope for the current project into the settings.toml for Huak's toolchain. Some dev tools can be removed from optional dependency groups in favor of the toolchain for the project (cc #866).