Skip to content

danielsalvador/mise-poetry-test

 
 

Repository files navigation

mise-poetry

Poetry plugin for mise version manager

Build History

Build history

Installation

mise plugin add poetry

Usage

Check mise readme for instructions on how to install & manage versions.

Overriding installer

MISE_POETRY_INSTALL_URL is an optional variable you can specific to point to the hosted installer of your choosing, e.g. get-poetry.py or the new install-poetry.py (compatible with 1.1.7+ and default in 1.2).

For example, to force install-poetry.py on 1.1.9:

MISE_POETRY_INSTALL_URL=https://install.python-poetry.org mise install poetry 1.1.9

Doing so is not recommended and may result in poetry installations which disregard the mise-python plugin. See issue #10.

Virtualenv Activation

Automatically activate the poetry virtualenv when entering the directory with the following .mise.toml:

[tools]
poetry = {version='latest', pyproject='pyproject.toml'}
python = '3.11' # must be after poetry so the poetry bin is first in PATH

Set MISE_POETRY_AUTO_INSTALL=1 to automatically run poetry install to create the virtualenv.

License

Licensed under the MIT license.

About

Poetry plugin for the rtx version manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.0%
  • Makefile 5.0%