title: PyCharm PYTHONPATH with different parts of single logical package
body: <p>Assume I have projects <em>deployment</em> and <em>cms</em> with this structure:</p>
  
  <pre><code>+ deployment
  | + src
  | | + my_company
  | | | + __init__.py
  | | | + deployment
  | | | | + ...
  + cms
  | + src
  | | + my_company
  | | | + __init__.py
  | | | + cms
  | | | | + ...
  + ...
  </code></pre>
  
  <p>My company has many projects that are distributed as single logical package <code>my_company</code>. This functionality ensures <code>extend_path</code> in each <code>my_company/__init__.py</code> file. 
  <a href="https://docs.python.org/2/library/pkgutil.html#pkgutil.extend_path" rel="nofollow noreferrer">https://docs.python.org/2/library/pkgutil.html#pkgutil.extend_path</a></p>
  
  <p>So then is possible import like this:</p>
  
  <pre><code>from mp_company import cms
  from mp_company import deployment
  </code></pre>
  
  <p>Problem comes when I mark all <code>src</code> directories as <strong>Sources Root</strong> in PyCharm. Because then PyCharm sees just only one package (probably the first it encounters) for the first level of imports in suggestions box. So if I want sugesstions for phrase <code>import my_company.</code> it appears only <code>deployment</code>. Strange is that for second level of imports all working right. So all suggestions for phrase <code>import my_company.cms.</code> suddenly appears after I write dot character after cms package name. </p>
  
  <p>Is there any option in settings to fix this problem?</p>