title: python open config file located inside the package
body: <p>I'm trying to distribute a python package that has a non python file. The file is located in mypackge/config.yml and I also added it in manifest.in (recursive-include mypackage *.yml). When I run python setup.py install, it is apparently added to the egg but I don't know how to access the file inside the code. <code>open(os.path.join('mypackage', 'config.yml'))</code> will stop working as soon as I cd out of the directory where setup.py is...</p>
  
  <p>Is there a way to access the file inside the egg safely, like Java's <code>getResourceAsStream</code> method?</p>