Skip to content

Commit 32f73c3

Browse files
committed
Update comment
1 parent a5d912d commit 32f73c3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

recipe/build_base.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,11 @@ fi
553553
# to be installed into <prefix>/lib/python3.13t/site-packages, but conda
554554
# installs them to <prefix>/lib/python3.13/site-packages.
555555
# The workaround is to add all these wrong paths to sys.path using
556-
# site.addsitedir so that cpython and other tools like pip know about these
556+
# a pth file so that cpython and other tools like pip know about these
557557
# locations to check when importing packages and uninstalling packages.
558558
# When installing packages, pip will use the correct location
559559
# <prefix>/lib/python3.13t/site-packages.
560+
# Note that these directories are not added to sys.path if they do not exist.
560561
SP_DIR="${PREFIX}/lib/python${PY_VER}${THREAD}/site-packages"
561562
if [[ ${PY_FREETHREADING} == yes ]]; then
562563
echo "${PREFIX}/lib/python${PY_VER}/site-packages" >> $SP_DIR/conda-site.pth

0 commit comments

Comments
 (0)