explodinglabs / jsonrpcserver

Process incoming JSON-RPC requests in Python
MIT License
186 stars 40 forks source link

Use importlib.resources instead of "open" in setup.py #259

Closed bcb closed 2 years ago

bcb commented 2 years ago

See https://setuptools.pypa.io/en/latest/userguide/datafiles.html#accessing-data-files-at-runtime

bcb commented 2 years ago

Can't be done in setup.py -- tries to import the jsonrpcserver package which pulls in third party modules which haven't been installed yet.