Skip to content

Commit b958368

Browse files
author
Shiva Poudel
committed
Merge pull request #147 from unibet/master
added support to pip install from local directory
2 parents cb34b87 + 8344368 commit b958368

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/pip.pp

+3-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@
134134
}
135135

136136
$source = $url ? {
137-
false => $pkgname,
138-
default => "${url}#egg=${egg_name}",
137+
false => $pkgname,
138+
/^(\/|[a-zA-Z]\:)/ => $url,
139+
default => "${url}#egg=${egg_name}",
139140
}
140141

141142
# We need to jump through hoops to make sure we issue the correct pip command

0 commit comments

Comments
 (0)