Would it be possible to change the way hierarchical blocks get imported?
Currently, they get called by execfile with their absolute file path,
which
makes sharing them brittle. Since hierarchical blocks are expected to
be
in the .grc_gnuradio folder, would it be possible to add that to the
PYTHONPATH (if it is not already) and treat the Hier blocks as modules
in a
Python Package like HierBlocks? That way, importing a Hier block could
be
done like:
from HierBlocks import myHierBlock
GRC could generate import statements like the above instead of the
current
execfile, which is system/user specific.