Skip to content

Configuration

Benny Lutati edited this page Sep 6, 2021 · 2 revisions

This page document the configuration options that was added to relaxed-poetry, unless otherwise specified, all poetry's original configuration also work in this version.

ℹ️ Unlike Poetry, Relaxed-Poetry store its local configuration files in your project directory under etc/rp/config.toml

Virtual Environments

virtualenvs.in-project

default value: true

The option itself works just like in the original poetry but it changed to true by default. Keeping the project files encapsulated inside the project directory helps maintenance, reduce uncertainty and when deleting the project - no stale data is left behind.

virtualenvs.symlinks-on-path-deps

default value: true

This configuration instruct relaxed-poetry to symlink path dependencies (which are in edit/develop mode) into site-packages rather than writing a "pth" file.

The original poetry creates a "pth" file in site-packages for editable path dependencies, this is a less elegant alternative to symlink, but it works on Windows. The main problem is that some tools does not understand ".pth" files, and as a result have problems showing auto-completion options for path dependencies.