PyOxidizer support
PyX currently fails quite badly when added to a PyOxidizer project, initially because of https://github.com/indygreg/PyOxidizer/issues/69 .
It would be a big start if the use of __file__ can be removed, or its absence ignored, or at least delayed and only used when necessary, so that the majority of PyX can work while other parts remain broken.
The initial problem I encountered was that pyxrc is always loaded from local , so any pyxrc stored inside the binary is not used.
Sorry for the late response.
As suggested, in a first step commit 00d4495a9586f94200f9ba40104e203fefba829b removes the usage of file or make it optional.
For the pyxrc issue, more investigations would be needed. Could you please provide us with more input.