Skip to content

Commit

Permalink
Merge pull request #52 from instadeepai/fix/add-current-dir-to-setup
Browse files Browse the repository at this point in the history
chore: add current dir to setup file
  • Loading branch information
RuanJohn authored Feb 28, 2024
2 parents 9e9bdc4 + 94d4514 commit 3fcb472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

def _parse_requirements(path: str) -> List[str]:
"""Returns content of given requirements file."""
with open(os.path.join(path)) as f:
with open(os.path.join(_CURRENT_DIR, path)) as f:
return [
line.rstrip() for line in f if not (line.isspace() or line.startswith("#"))
]
Expand Down

0 comments on commit 3fcb472

Please sign in to comment.