This is an archive of the discontinued Mercurial Phabricator instance.

debuginstall: gracefully handle missing __file__ attributes
ClosedPublic

Authored by mharbison72 on Nov 17 2019, 1:06 AM.

Details

Summary

This was crashing PyOxidizer. While here, point "Python lib" and "installed
modules" to the oxidized binary when read from memory instead of pretending
their location is unknown.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mharbison72 created this revision.Nov 17 2019, 1:06 AM
indygreg accepted this revision.Nov 17 2019, 6:26 PM
indygreg added a subscriber: indygreg.

Pointing to the executable when running with PyOxidizer seems like a reasonable approach to me!

This revision is now accepted and ready to land.Nov 17 2019, 6:26 PM