Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tchaton committed Feb 16, 2024
1 parent 1b837f9 commit 24efee8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def _load_py_module(fname, pkg="lit_data"):


def _load_requirements(path_dir: str = _PATH_ROOT, file_name: str = "requirements.txt") -> list:
with open(os.path.join(path_dir, file_name)) as f:
reqs = parse_requirements(f).readlines()
reqs = parse_requirements(open(os.path.join(path_dir, file_name))).readlines()
return list(map(str, reqs))


Expand Down

0 comments on commit 24efee8

Please sign in to comment.