Skip to content

Commit

Permalink
pkgs/sage-conf_conda/setup.py: Use --enable-system-sitepackages
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 25, 2024
1 parent 5af6f07 commit a5e4c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/sage-conf_conda/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def run(self):
'See https://doc.sagemath.org/html/en/installation/conda.html on how to get started.')

cmd = f"cd {SAGE_ROOT} && ./configure --enable-build-as-root --with-system-python3=force --disable-notebook --disable-sagelib --disable-sage_conf --disable-doc"
cmd += ' --with-python=$CONDA_PREFIX/bin/python --prefix="$CONDA_PREFIX"'
cmd += ' --with-python=$CONDA_PREFIX/bin/python --prefix="$CONDA_PREFIX" --enable-system-site-packages'
cmd += ' $(for pkg in $(PATH="build/bin:$PATH" build/bin/sage-package list :standard: --exclude rpy2 --has-file spkg-configure.m4 --has-file distros/conda.txt --exclude-dependencies); do echo --with-system-$pkg=force; done)'
print(f"Running {cmd}")
sys.stdout.flush()
Expand Down

0 comments on commit a5e4c8f

Please sign in to comment.