Skip to main content

Poetry plugin that adds support for configuring venv location.

Project description

poetry-plugin-configurable-venv-location

Description

poetry-plugin-configurable-venv-location is a plugin for poetry, the Python packaging and dependency manager. It allows one to specify a different virtual env locaton when using virtualenvs.in-project is set to true.

Installation

Follow poetry's plugin installation instructions, replacing poetry-plugin with poetry-plugin-configurable-venv-location.

Usage

Create a file called .poetry_venv_path in the same folder as your pyproject.toml containing path to your virtual env. e.g.:

/some/path/to/a/.venv

Also set the following config option in poetry:

poetry config virtualenvs.in-project true

Notes

This plugin is a way to workaround poetry limitation #1579.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page