title: How to import functions from a submodule in a Python egg?
body: <p>I have a custom Python egg I've written, which I cannot get the submodule (or nested module) to load externally.  I've been able to load a root-level module just fine.</p>
  
  <p>Here's the obfuscated structure:</p>
  
  <pre>
  my_egg/
      my_egg/
          __init__.py (empty file)
          module_one.py
          my_subdir\
              __init__.py (empty file)
              module_two.py
      setup.py
  </pre>
  
  <p>Importing module_one works:</p>
  
  <pre><code>from my_egg import module_one
  </code></pre>
  
  <p>But I cannot seem to get module_two to import.  Here's what I've tried:</p>
  
  <pre><code>from my_egg.my_subdir import module_two
  from my_egg import my_subdir.module_two
  from my_egg.my_subdir.module_two import *
  </code></pre>
  
  <p>None of those worked.  Here's what my setup.py looks like:</p>
  
  <pre><code>from setuptools import setup
  
  setup(name='my_egg',
    version='0.1',
    packages=['my_egg'],
    test_suite='nose.collector',
    tests_require=['nose'],
    zip_safe=False)
  </code></pre>