You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
If i understand poetry correctly (which shouldn't be taken for granted) i am supposed to use poetry install and poetry run during my development. And i should NOT install poetry into the virtual environment i use to develop my project.
Thats why i can't use the existing Run Configuration options in intellij to add a build, install and run task utilizing existing Intellij run configurations.
The python versions assume whatever i want to run is installed in my project sdk or in another sdk. But the poetry installation is not a valid sdk so i can't configure it as one in intellij.
External Tools can be used to configure poetry but they can't be triggered as simply as Run Configurations. My Workaround for now is to have a python run configuration doing a python -m call to something and add the desired poetry run as a "Before Launch" tool. But it took me some time to come up with this workaround and it means the window with the output will be hidden by the window with the output of the unwanted "python -m ...".
It would be nice to have Run Configuration Type poetry.
If what i write above make no sense i guess this is a wish for better documentation about how to setup a poetry project with this.
The text was updated successfully, but these errors were encountered:
If i understand poetry correctly (which shouldn't be taken for granted) i am supposed to use poetry install and poetry run during my development. And i should NOT install poetry into the virtual environment i use to develop my project.
Thats why i can't use the existing Run Configuration options in intellij to add a build, install and run task utilizing existing Intellij run configurations.
The python versions assume whatever i want to run is installed in my project sdk or in another sdk. But the poetry installation is not a valid sdk so i can't configure it as one in intellij.
External Tools can be used to configure poetry but they can't be triggered as simply as Run Configurations. My Workaround for now is to have a python run configuration doing a python -m call to something and add the desired poetry run as a "Before Launch" tool. But it took me some time to come up with this workaround and it means the window with the output will be hidden by the window with the output of the unwanted "python -m ...".
It would be nice to have Run Configuration Type poetry.
If what i write above make no sense i guess this is a wish for better documentation about how to setup a poetry project with this.
The text was updated successfully, but these errors were encountered: