Skip to content

Commit

Permalink
Update vendored requirementslib
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy committed May 17, 2018
1 parent 5b6680e commit 3c0094e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/vendor/requirementslib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding=utf-8 -*-
__version__ = "0.0.2"
__version__ = "0.0.3"

from .requirements import Requirement
2 changes: 2 additions & 0 deletions pipenv/vendor/requirementslib/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ def from_pipfile(cls, name, pipfile):
@property
def line_part(self):
seed = self.path or self.link.url or self.uri
if not self._has_hashed_name:
seed += "#egg={0}".format(self.name)
editable = "-e " if self.editable else ""
return "{0}{1}".format(editable, seed)

Expand Down

0 comments on commit 3c0094e

Please sign in to comment.