diff options
author | 2022-12-02 13:09:10 +0200 | |
---|---|---|
committer | 2022-12-18 20:58:28 +0200 | |
commit | ac0638d3bf4824c7874e08dc31abb23b05399efa (patch) | |
tree | 7d49e7d2926c433fdd266bc3566ced158ba1d353 /py_build.py | |
parent | remove dependence on plugincache generation (diff) | |
download | pkgcore-ac0638d3bf4824c7874e08dc31abb23b05399efa.tar.gz pkgcore-ac0638d3bf4824c7874e08dc31abb23b05399efa.tar.bz2 pkgcore-ac0638d3bf4824c7874e08dc31abb23b05399efa.zip |
fix build for newest pip
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'py_build.py')
-rw-r--r-- | py_build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py_build.py b/py_build.py index 48394046f..fe1adb1d9 100644 --- a/py_build.py +++ b/py_build.py @@ -62,7 +62,7 @@ def prepare_pkgcore(callback, consts: bool): write_pkgcore_lookup_configs(cleanup_files) # generate function lists so they don't need to be created on install - if subprocess.call(['make', f'PYTHON={sys.executable}'], cwd=Path.cwd() / 'data/lib/pkgcore/ebd'): + if subprocess.call(['make', f'PYTHON={sys.executable}', 'PYTHONPATH=' + ':'.join(sys.path)], cwd=Path.cwd() / 'data/lib/pkgcore/ebd'): raise Exception("Running makefile failed") return callback() |