See indygreg/PyOxidizer#69 for more info about why, but the tl;dr version is __file__ is an optional attribute and should not be relied upon.
Currently cmd2 fails under PyOxidizer with:
File "cmd2", line 15, in <module>
File "cmd2.cmd2", line 56, in <module>
File "cmd2.rl_utils", line 120, in <module>
AttributeError: module 'readline' has no attribute '__file__'
If sys.oxidized is set, and readline is imported (and isnt libedit), then any symbols needed are in the binary, if that is helpful.