Assuming a python package is available locally at /path/to/package, then this attempt to install it with pip fails:
python::pip { 'package':
url => '/path/to/package'
}
This snippet in pip.pp:
$source = $url ? {
false => $pkgname,
default => "${url}#egg=${egg_name}",
}
causes explicitly specified local urls to have #egg=... appended to them, which causes the install to fail.
It can be worked around by not specifying a url, e.g.:
python::pip{ '/path/to/package': }
but this isn't intuitive.
Assuming a python package is available locally at
/path/to/package, then this attempt to install it with pip fails:This snippet in pip.pp:
causes explicitly specified local urls to have #egg=... appended to them, which causes the install to fail.
It can be worked around by not specifying a url, e.g.:
but this isn't intuitive.