title: Python import issue for different subpackages
body: <p>I am trying to implement following hierarchy.
  My final goal is myscpt.sh should run from any folder</p>
  
  <p>But I am getting import errors.</p>
  
  <p>What is the best approach to implement such type of hierarchical architecture? </p>
  
  <pre><code>FooSoft
  |
  |-- foo/
      |
      |-- test.py   
      |
      |-- common/     
      |
      |-- utils/
      |
      |-- api/
      |
      |-- scripts/
            |-- myscript.py
  |
  |-- bin/myscpt.sh
  |
  |-- etc/foo.conf
  </code></pre>
  
  <p>bin/myscpt.sh </p>
  
  <pre><code>/usr/bin/python /path/FooSoft/foo/script/myscript.py /path/FooSoft/etc/foo.conf
  </code></pre>
  
  <p>foo/script/myscript.py</p>
  
  <pre><code>from ..common import *
  from ..utils import *
  from ..test import *
  .
  .
  &lt;Doing some stuff&gt;
  </code></pre>
  
  <p>I am using <code>.. import</code> in most of modules to avoid absolute path.</p>