title: Running ODOO 10 from eclipse on Windows 10 - missing information
body: <p>Where is the odoo class and module defined? What should the pythonpath be?</p>
  
  <p>I'm having problems setting up ODOO 10 community to run from Eclipse on Windows (10). This boils down to two problems: I can't find where the <code>odoo</code> class is defined so cannot import the odoo module,  and I don't know what the PYTHONPATH should be.  </p>
  
  <p>Details: </p>
  
  <p>My main module in the Eclipse debug configuration is set to oddomain.py (renamed from odoo, in the setup folder) with the code: </p>
  
  <pre><code># set server timezone in UTC before time module imported
  # Israel time zone is IST so I'm hoping this will work
  __import__('os').environ['TZ'] = 'IST'
  __import__('pkg_resources').declare_namespace('odoo.addons')
  
  
  if __name__ == "__main__":
      odoo.cli.main()
  </code></pre>
  
  <p>I get: <code>missing odoo module from path</code>    </p>
  
  <p>I set up ODOO 10 community in eclipse on windows 10. I learned how to do it from comparing these posts: </p>
  
  <ul>
  <li><a href="https://www.odoo.com/documentation/10.0/setup/install.html#setup-install-source" rel="nofollow noreferrer">Installing ODOO 10 Source</a>,   </li>
  <li><a href="http://www.odoo.gotodoo.com/debug-odoo-eclipse/" rel="nofollow noreferrer">How to debug ODOO in Eclipse in Debian</a></li>
  <li>and this old ​post: <a href="https://www.odoo.com/forum/how-to/developers-13/how-to-debug-odoo-in-eclipse-under-winows-36105" rel="nofollow noreferrer">How to debug ODOO in Eclipse under windows</a> </li>
  </ul>
  
  <p>I'm running on MS Windows 10. 
  I have eclipse with Pydev installed.<br>
  I have <a href="https://www.odoo.com/documentation/10.0/setup/install.html" rel="nofollow noreferrer">the recommended</a> python version (2.7.9) installed<br>
  I have the Postgres set up ok. (with BigSQL)<br>
  I have forked the odoo project on github and have the clone from github, locally.<br>
  I have the project set with the pydev nature.<br>
  I have all the packages installed by editing requirements.txt and running <code>pip install -r requirements.txt</code> in a cmd window in the odoo project directory.<br>
  I set up the odoo.conf with passwords for the postgres admin and odoo correctly.<br>
  I renamed the setup/odoo file to setup/odoomain.py and after reopening it in eclipse, it is recognized as python and I can set breakpoints. (calling it odoo.py was causing a problem, so I called it odoomain.py)<br>
  I set up the debug configuration of pydev to run the setup/odoomain.py as the main.    </p>
  
  <p>But I can't find the where the <code>odoo</code> class is defined, and therefore can't import the odoo module!  Where is it defined?  </p>
  
  <p>What should the PYTHONPATH for the project be? I set it in Eclipse:Project/Options)...</p>
  
  <p>It is now set to </p>
  
  <pre><code>/$/PROJECT_DIR_Name)/odoo/addons
  </code></pre>
  
  <p>Where is the odoo module defined, and how do I import it? Is it something to do with the PYTHONPATH? </p>