Skip to content

Commit

Permalink
[Fix] Installer: Properly read requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
klieret committed May 3, 2019
1 parent 5b4161b commit c26639a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
long_description = fh.read()

with (this_dir / "ankipandas" / "version.txt").open() as vf:
version = vf.read()
version = vf.read().strip()

with (this_dir / "requirements.txt").open() as rf:
requirements = [
req.strip() for req in rf.readlines()
if req.strip() and not not req.startswith("#")
if req.strip() and not req.startswith("#")
]


Expand Down

0 comments on commit c26639a

Please sign in to comment.