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

File details

Details for the file poetry_plugin_configurable_venv_location-0.1.0.tar.gz.

File metadata

File hashes

Hashes for poetry_plugin_configurable_venv_location-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c9efb9c3500502006e67eeeabf30d167e66051bcc259dc7660f49acd14c1be1
MD5 88e8d05da642d6f43e29c0521a048d1e
BLAKE2b-256 38cb66fe24f62f092f59f129c386d0a4d68db6b48efa64e0bc6e91a05c1cc133

See more details on using hashes here.

File details

Details for the file poetry_plugin_configurable_venv_location-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for poetry_plugin_configurable_venv_location-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee0e6859cde198e70c77ea548e98a2b2aeac7fed1a2832794f3da407829cf630
MD5 38635bd943841238a86ed3b7bc69e379
BLAKE2b-256 40ad8ff5200a3e9354daf90db8e57c0fba973a0062e67731c685913e7db23c9e

See more details on using hashes here.

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