Skip to content

Commit 9b5b739

Browse files
committed
Install python_bin in SRC_DIR
1 parent db88998 commit 9b5b739

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

recipe/build_base.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set -ex
44
# Get an updated config.sub and config.guess
55
cp $BUILD_PREFIX/share/libtool/build-aux/config.* .
66

7-
if [[ ! -d ${BUILD_PREFIX}/python-bin ]]; then
7+
if [[ ! -d ${SRC_DIR}/python-bin ]]; then
88
# Need an up-to-date python to build python.
99
# python 3.10 in miniforge is too old.
10-
CONDA_SUBDIR=$build_platform conda create -p ${BUILD_PREFIX}/python-bin python -c conda-forge --yes --quiet
11-
export PATH=${BUILD_PREFIX}/python-bin/bin:${PATH}
10+
CONDA_SUBDIR=$build_platform conda create -p ${SRC_DIR}/python-bin python -c conda-forge --yes --quiet
11+
export PATH=${SRC_DIR}/python-bin/bin:${PATH}
1212
fi
1313

1414
# The LTO/PGO information was sourced from @pitrou and the Debian rules file in:

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
55
{% set ver2nd = ''.join(version.split('.')[0:2]) %}
66
{% set ver3nd = ''.join(version.split('.')[0:3]) %}
7-
{% set build_number = 0 %}
7+
{% set build_number = 1 %}
88

99
# this makes the linter happy
1010
{% set channel_targets = channel_targets or 'conda-forge main' %}

0 commit comments

Comments
 (0)