How To Package an A Python Application for easy access of modules
<p>I have a python app which includes several modules packaged in different directories.</p>

<p>What I want is to be able to define the root directory(or otherwise) and be able to call packages from There-- The way django works. I haven't been able to get very usefull information on this and any suggestion would be very welcome</p>

<p>Am having a structure like: </p>

<p><code>/main</code></p>

<pre><code>     dir1

         __init__.py

         subdir2

             __init__.py

             module1.py

             module2.py

         subdir3

             __init__.py

             module3.py

             module4.py
</code></pre>

<p>I want to be able to do the following from <code>module3.py</code> :- <code>from dir1.subdir2.module1 import *</code> and be able to do <code>from dir1.subdir3.module3 import something</code> from <code>module1.py</code></p>
