diff --git a/inc/python b/inc/python index ca185f05d2..bba9cda44d 100644 --- a/inc/python +++ b/inc/python @@ -238,7 +238,9 @@ function setup_package_with_req_sync { if [ -n "$REQUIREMENTS_DIR" ]; then # Constrain this package to this project directory from here on out. local name=$(awk '/^name.*=/ {print $3}' $project_dir/setup.cfg) - $REQUIREMENTS_DIR/.venv/bin/edit-constraints $REQUIREMENTS_DIR/upper-constraints.txt -- $name "$flags $project_dir" + $REQUIREMENTS_DIR/.venv/bin/edit-constraints \ + $REQUIREMENTS_DIR/upper-constraints.txt -- $name \ + "$flags file://$project_dir#egg=$name" fi setup_package $project_dir $flags