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.9+ 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
Built Distribution
File details
Details for the file poetry_conda-0.1.3.tar.gz
.
File metadata
- Download URL: poetry_conda-0.1.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1443541b63c81c28a40fff50b8b9c590699b4453315ddf970bd9d839499be9f |
|
MD5 | a19f74da0ae5a09b4eaacd06e7889370 |
|
BLAKE2b-256 | b80814dded0e08f211f24e3126b9cae45d045c402f2df4b0852b7fbe2f960588 |
File details
Details for the file poetry_conda-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: poetry_conda-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27136de4ab7a898fb476a858cfaa6883f03b91651a0e070c3fb734bcf6de92f3 |
|
MD5 | 41d82d7150d972c99639a570352bc8c9 |
|
BLAKE2b-256 | 37eb4add39efc7147a1116e61426b1a5adb035433e6d70facb24c824bf8c2e9b |