pyx-project / pyx

Repository of PyX, a Python package for the creation of PostScript, PDF, and SVG files.
https://pyx-project.org/
GNU General Public License v2.0
109 stars 18 forks source link

PyOxidizer support #12

Open jayvdb opened 5 years ago

jayvdb commented 5 years ago

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.

joerg-lehmann commented 3 years ago

Sorry for the late response.

As suggested, in a first step commit 00d4495a9586f94200f9ba40104e203fefba829b removes the usage of file or make it optional.

joerg-lehmann commented 3 years ago

For the pyxrc issue, more investigations would be needed. Could you please provide us with more input.