Skip to content

malte-behrendt/proto-plugin-poetry

Repository files navigation

Proto plugin for Poetry

Status: Proof-of-Concept

For evaluating whether Proto/Moon is a option for managing tools and run-times.

Requirements include being able to manage Poetry.

Limitations

This plugin is a Proof-of-Concept only:

  • Misuses the concept of Proto
  • I'm not firm in Rust, so there may be dragons
  • I no nothing about WASM, so there will be dragons

Usage

Exemplary .prototools:

python = "3.12.7"
# Order matters: install Python first!
poetry = "1.8.2"

[plugins]
poetry = "github://malte-behrendt/proto-plugin-poetry"

Manual test

See WASM Plugin Documentation.

proto install
cargo wasi build
proto --log trace list-remote poetry-test
proto --log trace install poetry-test 1.8.2