Skip to content

How do I make part of and auto-enable plugins in my project #5729

@Maciej-Zwolinski

Description

@Maciej-Zwolinski
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

system: Ubuntu-20.04
poetry: 'master'

I need poetry-dotenv-plugin to be a part of my project (i need to set up environment variables to point to proper installation of CUDA, and don't want the user to have to do that manually or modify .bashrc in any way). The documentation is silent on how to make a plugin part of the project's dependency - simply adding poetry-dotenv-plugin = '*' in pyproject.toml's dependencies section and running poetry run python3 -c 'import os; print(os.environ)' does not return modified environment. What is an expected syntax here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation issues/improvementsstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions