Skip to content

Commit

Permalink
Update requirementslib
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed May 24, 2018
1 parent 4c53e6e commit c154350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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.3"
__version__ = "0.0.4"

from .requirements import Requirement
3 changes: 2 additions & 1 deletion pipenv/vendor/requirementslib/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +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:
# add egg fragments to remote artifacts (valid urls only)
if not self._has_hashed_name and self.is_remote_artifact:
seed += "#egg={0}".format(self.name)
editable = "-e " if self.editable else ""
return "{0}{1}".format(editable, seed)
Expand Down

0 comments on commit c154350

Please sign in to comment.