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.
2 parents 3c071b3 + f542401 commit 4f0a728Copy full SHA for 4f0a728
src/sage/env.py
@@ -545,8 +545,8 @@ def sage_data_paths(name: str | None) -> set[str]:
545
}
546
paths.add(user_data_dir("sagemath"))
547
paths.add(user_data_dir())
548
- paths.add(site_data_dir("sagemath"))
549
- paths.add(site_data_dir())
+ for path in site_data_dir("sagemath", multipath=True).split(os.pathsep) + site_data_dir(multipath=True).split(os.pathsep):
+ paths.add(path)
550
else:
551
paths = {path for path in SAGE_DATA_PATH.split(os.pathsep)}
552
0 commit comments