Open gjcarneiro opened 5 years ago
I was able to use the work-around in the documentation for the keyring package with success in dealing with file in 3rd-party packages. You might try that as a method. It does mean that you end up with a lib directory carry along with the .exe in windows. (I haven't tried it in Mac or Linux, but would think that you get a shared lib there.)
Ah, I missed the doc section about this. Maybe I should open a bug in raven, instead.
See also #69. I encourage people to create issues against 3rd party projects when those projects require __file__
. If someone files an issue against Raven, please link to #69, as that issue contains all the details.
fwiw, raven
is deprecated and replaced with sentry
, and it looks like https://github.com/getsentry/sentry-python still uses __file__
but it degrades gracefully if it doesnt exist.