jacexh / pyautoit

Python binding for AutoItX3.dll
MIT License
269 stars 74 forks source link

pyautoit does not work with pyoxidizer due to reliance on __file__ #38

Open AngelEzquerra opened 3 years ago

AngelEzquerra commented 3 years ago

PyOxidizer is a tool to "compile" python programs into executables (https://github.com/indygreg/PyOxidizer). This tool is kind of similar to pyinstaller, however, it speeds up the startup time of the python programs it compiles by storing the python files and resources in memory during execution. Because of that modules that rely on the optional file variable do not work (see https://pyoxidizer.readthedocs.io/en/v0.6.0/packaging_pitfalls.html).

Would it be possible to follow the advice in that link and remove the reliance on the file variable to find the autoit3x.dll file?