rosrun and finding python files in other packages using catkin
I asked a similar question and got it to work with global scripts but not with rosrun.
So now I wonder how to do the following:
In package A i have
A/src/mp.py
In package B I have a file
A/src/test.py
which has the line:
from mp import *
Now when I do "rosrun A test.py" mp.py is not found. What is the correct way to solve this. Exactly what should I write in setup.py and in CMakeFile.txt?