File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,24 @@ for PKG_BASE in $SPKGS; do
49
49
50
50
case " $SYSTEM :$ENABLE_SYSTEM_SITE_PACKAGES " in
51
51
install-requires* |pip* )
52
+ # This is output for installation of packages into a Python environment.
53
+ # So it's OK to use any Python packages.
52
54
;;
53
55
* :)
54
- # Skip this package if it uses the SAGE_PYTHON_PACKAGE_CHECK
55
- # macro and if --enable-system-site-packages was NOT passed
56
- # to ./configure (or if ./configure has not yet been run).
56
+ # --enable-system-site-packages was NOT passed to configure
57
+ # (or script was run outside of the sage-build-env).
58
+ #
59
+ # Skip this package if it uses the SAGE_PYTHON_PACKAGE_CHECK macro.
60
+ #
57
61
SPKG_CONFIGURE=" ${SAGE_ROOT} /build/pkgs/${PKG_BASE} /spkg-configure.m4"
58
62
if grep -q SAGE_PYTHON_PACKAGE_CHECK " ${SPKG_CONFIGURE} " 2> /dev/null;
59
63
then
60
64
continue
61
65
fi
62
66
;;
63
67
* )
68
+ # --enable-system-site-packages was passed to configure.
69
+ # So any package (Python, non-Python) is fine.
64
70
;;
65
71
esac
66
72
You can’t perform that action at this time.
0 commit comments