Skip to main content

Poetry plugin that allows for the creation of virtual environments using Poetry, without interfering with the Conda environment in which Poetry is installed

Project description

poetry-conda plugin

This plugin allows the installation of Poetry into Conda environments other than base and enables it to create virtual environments for your projects without polluting the Conda environment where it is installed.

It works with any combination of Python 3.8+ and Poetry 1.3+.

Installation

Inside a Conda environment, install the plugin using pip:

pip install poetry-conda

Usage

This plugin adds the Poetry setting virtualenvs.ignore-conda-env with a default value of true. When set to true, Poetry will ignore Conda environments when creating virtual environments for your projects.

You can change this setting locally or globally the same way you would change any other Poetry setting, including through:

  • the poetry config command
  • Poetry environment variables
  • the poetry.toml file
  • the pypoetry/config.toml file

Contributing

Contributions to this project are welcome. Please fork this repository, make your changes, and submit a pull request.

License

This project is licensed under the terms of the MIT license.

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

poetry_conda-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

poetry_conda-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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