Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python::pip Specifying a local path in url fails #91

Closed
mykter opened this issue Jul 5, 2014 · 1 comment
Closed

python::pip Specifying a local path in url fails #91

mykter opened this issue Jul 5, 2014 · 1 comment
Labels
bug Something isn't working

Comments

@mykter
Copy link

mykter commented Jul 5, 2014

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.

@shivapoudel
Copy link
Contributor

Fix via #147 ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants