Browse code

Merge "Fix library runs."

Jenkins authored on 2015/07/06 10:54:01
Showing 1 changed files
... ...
@@ -238,7 +238,9 @@ function setup_package_with_req_sync {
238 238
     if [ -n "$REQUIREMENTS_DIR" ]; then
239 239
         # Constrain this package to this project directory from here on out.
240 240
         local name=$(awk '/^name.*=/ {print $3}' $project_dir/setup.cfg)
241
-        $REQUIREMENTS_DIR/.venv/bin/edit-constraints $REQUIREMENTS_DIR/upper-constraints.txt -- $name "$flags $project_dir"
241
+        $REQUIREMENTS_DIR/.venv/bin/edit-constraints \
242
+            $REQUIREMENTS_DIR/upper-constraints.txt -- $name \
243
+            "$flags file://$project_dir#egg=$name"
242 244
     fi
243 245
 
244 246
     setup_package $project_dir $flags