Ledger-Donjon / rainbow

Makes Unicorn traces. Generic Side-Channel and Fault Injection simulator
GNU Lesser General Public License v3.0
172 stars 34 forks source link

Use importlib to load resources #34

Closed aiooss-ledger closed 2 years ago

aiooss-ledger commented 2 years ago

This pull request proposes to use https://docs.python.org/3/library/importlib.html#module-importlib.resources to load resources. This removes a deprecation warning due to a relative path used in previous code.

This breaks compatibility with Python 3.6 and lower, but these versions are end of life since 23 Dec 2021.