Open
Description
Currently lexactivator is using __file__
variable for path resolution (see: https://github.com/cryptlex/lexactivator-python/blob/master/cryptlex/lexactivator/lexactivator_native.py#L47)
The problem with that approach is that the code assumes it will have access to the file system which is not always true.
From Python 3.8, ResourceReader and importlib.resources are recommended ways of accessing package resources that enables interoprability across the Python ecosystem with projects like https://github.com/indygreg/PyOxidizer.
A more in-depth description of various loading mechanisms is available here
Metadata
Metadata
Assignees
Labels
No labels