Let's say that I do have same data files that are included in my python package.
I understand that the usage of __file__
is not recommended by distils because you will not be able to get a valid path if your module is inside an egg file.
Now, which method should I use in oder to be able to read these files, being inside eggs or outside them?