Skip to content

Commit 8ee08a0

Browse files
committed
set python_site_packages_path
1 parent cf4d8d6 commit 8ee08a0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

recipe/meta.yaml

Lines changed: 7 additions & 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 = 2 %}
7+
{% set build_number = 3 %}
88

99
# this makes the linter happy
1010
{% set channel_targets = channel_targets or 'conda-forge main' %}
@@ -110,6 +110,12 @@ outputs:
110110
skip_compile_pyc:
111111
- '*.py' # [build_platform != target_platform]
112112
string: {{ dev_ }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }}
113+
{% if freethreading == "yes" %}
114+
python_site_packages_path: lib/python{{ ver2nd }}t/site-packages # [unix]
115+
{% else %}
116+
python_site_packages_path: lib/python{{ ver2nd }}/site-packages # [unix]
117+
{% endif %}
118+
python_site_packages_path: Lib/site-packages # [win]
113119
run_exports:
114120
noarch:
115121
- python

0 commit comments

Comments
 (0)