title: Problem accessing config files within a Python egg
body: <p>I have a Python project that has the following structure:</p>
  
  <pre><code>package1
    class.py
    class2.py
    ...
  package2
    otherClass.py
    otherClass2.py
    ...
  config
    dev_settings.ini
    prod_settings.ini
  </code></pre>
  
  <p>I wrote a setup.py file that converts this into an egg with the same file structure. (When I examine it using a zip program the structure seems identical.) The funny thing is, when I run the Python code from my IDE it works fine and can access the config files; but when I try to run it from a different Python script using the egg, it can't seem to find the config files in the egg. If I put the config files into a directory relative to the <em>calling</em> Python script (external to the egg), it works - but that sort of defeats the purpose of having a self-contained egg that has all the functionality of the program and can be called from anywhere. I can use any classes/modules and run any functions from the egg as long as they don't use the config files... but if they do, the egg can't find them and so the functions don't work.</p>
  
  <p>Any help would be really appreciated! We're kind of new to the egg thing here and don't really know where to start.</p>