.env vars inside virtualenvs #8147
-
Hi, I am coming from using pipenv enjoyed that pipenv automatically instantiated assignments in the file |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Poetry does not support this out-of-the-box, because we believe this is not a task for a development tool. Instead either the application should be responsible to load the env vars e.g. by python-dotenv or it's part of the installation process of the application. However, poetry plugins exists, e.g. https://pypi.org/project/poetry-plugin-dotenv/ |
Beta Was this translation helpful? Give feedback.
Poetry does not support this out-of-the-box, because we believe this is not a task for a development tool. Instead either the application should be responsible to load the env vars e.g. by python-dotenv or it's part of the installation process of the application.
However, poetry plugins exists, e.g. https://pypi.org/project/poetry-plugin-dotenv/