How do I correctly set up the $PYTHONPATH variable for my workspace in VisualStudio Code?
Background Information
I have install
Setting PYTHONPATH in .env works for me. Note that the effect just is for vscode and the tools it runs, such as pylint.
My situation: I have a project that is not a pip installable package, but simply a source folder. (For historical reasons...)
myproject/src
The project has dependencies defined in a pip requires file.
My setup:
myproject - so this becomes the root of the vscode "project".PYTHONPATH=./src:${PYTHONPATH}