We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sage_data_paths
1 parent 28b7af0 commit eb17cabCopy full SHA for eb17cab
src/sage/env.py
@@ -536,8 +536,8 @@ def sage_data_paths(name: str | None) -> set[str]:
536
}
537
paths.add(user_data_dir("sagemath"))
538
paths.add(user_data_dir())
539
- paths.add(site_data_dir("sagemath"))
540
- paths.add(site_data_dir())
+ for path in site_data_dir("sagemath", multipath=True).split(':') + site_data_dir(multipath=True).split(':'):
+ paths.add(path)
541
else:
542
paths = {path for path in SAGE_DATA_PATH.split(os.pathsep)}
543
0 commit comments