sagemath / cysignals

cysignals: interrupt and signal handling for Cython
GNU Lesser General Public License v3.0
44 stars 23 forks source link

Install cysignals-CSI-helper as package data for better portability #204

Open mgorny opened 3 weeks ago

mgorny commented 3 weeks ago

Rather than installing cysignals-CSI-helper.py into a share directory and then trying to figure out the correct path to it, install it as Python package data and use the standard importlib.resources API to access it. For Python versions older than 3.9, the importlib_resources backport is used instead.

Fixes #200

orlitzky commented 2 weeks ago

Thanks for working on this.