Re: PyCon 2013 -- tentative title/abstract/outline -- feedback plz - v.2
On Sep 28, 2012, at 12:53 PM, Yaroslav Halchenko wrote:
>I just vaguely remember that there were problems in some projects relying on
>__file__ (some times opportunistically with os.path.realpath) to deduce the
>path to other components of the project, which might had been symlinked
>elsewhere ;-) and that is what dh_python has addressed:
Ah, yes, don't do that. :) Use the pkg_resources API if you need to locate
files within your package.
Cheers,
-Barry
Reply to: