|
...
|
...
|
@@ -300,6 +300,13 @@ function _setup_package_with_constraints_edit {
|
|
300
|
300
|
local flags=$2
|
|
301
|
301
|
local extras=$3
|
|
302
|
302
|
|
|
|
303
|
+ # Normalize the directory name to avoid
|
|
|
304
|
+ # "installation from path or url cannot be constrained to a version"
|
|
|
305
|
+ # error.
|
|
|
306
|
+ # REVISIT(yamamoto): Remove this when fixed in pip.
|
|
|
307
|
+ # https://github.com/pypa/pip/pull/3582
|
|
|
308
|
+ project_dir=$(cd $project_dir && pwd)
|
|
|
309
|
+
|
|
303
|
310
|
if [ -n "$REQUIREMENTS_DIR" ]; then
|
|
304
|
311
|
# Constrain this package to this project directory from here on out.
|
|
305
|
312
|
local name
|