>
> Marc's answer about pyproject.toml still doesn't tell me where to find
> the Python code that's actually being run when you type sage.
>
It runs the code in the file sage/venv/bin/sage, which is an entry point
generated automatically by the build system. That file contains the
following (where the actual shebang depends on the location of the sage
directory):
#!/path/to/sage/local/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from sage.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
- Marc
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/sage-devel/CALcZXREPnPAv9j0wXnm6UprB%2BCB2qXjBgDLn13i6GQnz0Q88PQ%40mail.gmail.com.