Take for example I have the following project tree.
repo | +-root | +-__init__.py +-__main__.py +-packageA | +-__init__.py +-__main__.py
My buffer is currently at
root.packageA.__main__. Due to relative imports within the code, it is necessary to run
python -m root.packageA from
How do I do so using
.dir_locals.el. I don't know if that make things easier for you.