fix(python)

moving to a prefix+suffix has a bunch of knock-on effects
This commit is contained in:
Jacob Heider 2024-03-21 11:15:39 -04:00 committed by Jacob Heider
parent bc23cde262
commit d257976018

View file

@ -182,6 +182,7 @@ build:
for key in build_time_vars:
if isinstance(build_time_vars[key], str):
build_time_vars[key] = re.sub(r'(\s|^)/opt/', r'\g<1>{}/'.format(pkgx_prefix), build_time_vars[key])
build_time_vars[key] = re.sub(r'\+brewing', r'', build_time_vars[key])
# force pip to user-install mode without sudo
- ln -s /dev {{prefix}}/lib/python{{version.marketing}}/site-packages