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 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

