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.
1 parent 913e132 commit d6ffe2fCopy full SHA for d6ffe2f
backend/python/common/libbackend.sh
@@ -384,6 +384,11 @@ function installRequirements() {
384
requirementFiles+=("${EDIR}/requirements-${BUILD_PROFILE}-after.txt")
385
fi
386
387
+ # This is needed to build wheels that e.g. depends on Python.h
388
+ if [ "x${PORTABLE_PYTHON}" == "xtrue" ]; then
389
+ export C_INCLUDE_PATH="${C_INCLUDE_PATH:-}:$(_portable_dir)/include/python${PYTHON_VERSION}"
390
+ fi
391
+
392
for reqFile in ${requirementFiles[@]}; do
393
if [ -f "${reqFile}" ]; then
394
echo "starting requirements install for ${reqFile}"
0 commit comments