Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #258 from chiqomar/patch-1
Browse files Browse the repository at this point in the history
`requirements` typo
  • Loading branch information
orsinium committed Sep 27, 2019
2 parents 5e7df29 + 281355c commit 40fa473
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dephell/controllers/_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def add(self, dep) -> None:
self._mapping[dep.name] = dep
return

# if it is the first layer (requiements.txt) try to merge these deps
# if it is the first layer (requirements.txt) try to merge these deps
if self.level == 1:
self._mapping[dep.name] += dep
if not self._mapping[dep.name].compat:
Expand Down
2 changes: 1 addition & 1 deletion dephell/package_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def install(self, reqs: Iterable[Requirement]) -> int:
args.append('--user')
converter = PIPConverter(lock=True)
with TemporaryDirectory() as path:
path = Path(path) / 'requiements.txt'
path = Path(path) / 'requirements.txt'
if path.exists():
path.unlink()
converter.dump(reqs=reqs, path=path, project=None)
Expand Down
2 changes: 1 addition & 1 deletion docs/cmd-jail-try.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $ dephell jail try textdistance
INFO creating venv... (python=/usr/local/bin/python3.7, venv=/tmp/tmpgixqt4_q)
INFO build dependencies graph...
INFO installation... (executable=/tmp/tmpgixqt4_q/bin/python3.7, packages=1)
Collecting textdistance==4.1.3 (from -r /tmp/tmpduyecsir/requiements.txt (line 2))
Collecting textdistance==4.1.3 (from -r /tmp/tmpduyecsir/requirements.txt (line 2))
Installing collected packages: textdistance
Successfully installed textdistance-4.1.3
INFO installed
Expand Down

0 comments on commit 40fa473

Please sign in to comment.