We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently cysignals-CSI-helper.py is installed https://github.com/sagemath/cysignals/blob/main/setup.py#L219. The script that makes use of it, cysignals-CSI, later tries to guess the install location based on sys.argv[0]: https://github.com/sagemath/cysignals/blob/main/src/scripts/cysignals-CSI#L68
cysignals-CSI-helper.py
cysignals-CSI
sys.argv[0]
This can fail if sys.argv[0] isn't something simple like /usr/bin/python, e.g. https://bugs.gentoo.org/927767
/usr/bin/python
By using importlib.resources.files we could avoid guessing at all.
importlib.resources.files
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
cysignals-CSI-helper.py
is installed https://github.com/sagemath/cysignals/blob/main/setup.py#L219. The script that makes use of it,cysignals-CSI
, later tries to guess the install location based onsys.argv[0]
: https://github.com/sagemath/cysignals/blob/main/src/scripts/cysignals-CSI#L68This can fail if
sys.argv[0]
isn't something simple like/usr/bin/python
, e.g. https://bugs.gentoo.org/927767By using
importlib.resources.files
we could avoid guessing at all.The text was updated successfully, but these errors were encountered: