From 33da3d65c76ac0e9ba66426f341a131e58dde428 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Tue, 17 Mar 2020 20:28:53 +0000 Subject: [PATCH] Fix CUSTOM_COMPILE_COMMAND and add comment --- bin/update_constraints.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/update_constraints.py b/bin/update_constraints.py index c99452d8..50aaf515 100755 --- a/bin/update_constraints.py +++ b/bin/update_constraints.py @@ -10,7 +10,9 @@ import requests os.chdir(os.path.dirname(__file__)) os.chdir('..') -os.environ['CUSTOM_COMPILE_COMMAND'] = "bin/update_constraints" +# CUSTOM_COMPILE_COMMAND is a pip-compile option that tells users how to +# regenerate the constraints files +os.environ['CUSTOM_COMPILE_COMMAND'] = "bin/update_constraints.py" subprocess.check_call([ 'pip-compile', '--allow-unsafe',