Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/wapython
Path: blob/main/python/cpython/src/patches/17-fix-sysconfigdata.py
1067 views
1
2
3
# (this gets appended; not a patch)
4
5
# Make this work for building even when the install is moved.
6
import sys
7
prefix = build_time_vars['prefix']
8
for key, val in build_time_vars.items():
9
if isinstance(val, str):
10
build_time_vars[key] = val.replace(prefix, sys.prefix)
11
12
13
14