From 502188b16e04e21d42cfaf32dba2622c5719b8cf Mon Sep 17 00:00:00 2001 From: Patrick Decat Date: Fri, 30 Apr 2021 14:20:22 +0200 Subject: [PATCH] Pass --python-version to pip install (along with --only-binary=:all:) --- build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.py b/build.py index ee6a7e1..b648cf9 100644 --- a/build.py +++ b/build.py @@ -159,6 +159,8 @@ def dequote(value): 'install', '--prefix=', '--target=.', + '--python-version={}'.format(runtime[6:]), + '--only-binary=:all:', '--requirement=requirements.txt', )