mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(python)
moving to a prefix+suffix has a bunch of knock-on effects
This commit is contained in:
parent
bc23cde262
commit
d257976018
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ build:
|
||||||
for key in build_time_vars:
|
for key in build_time_vars:
|
||||||
if isinstance(build_time_vars[key], str):
|
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'(\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
|
# force pip to user-install mode without sudo
|
||||||
- ln -s /dev {{prefix}}/lib/python{{version.marketing}}/site-packages
|
- ln -s /dev {{prefix}}/lib/python{{version.marketing}}/site-packages
|
||||||
|
|
Loading…
Reference in a new issue