Skip to content
Snippets Groups Projects
Commit 246ad2af authored by schulmax's avatar schulmax
Browse files

Now compatible for pip versions > 6

parent 40f87edb
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ from pip.req import parse_requirements ...@@ -5,7 +5,7 @@ from pip.req import parse_requirements
README = open(os.path.join(os.path.dirname(__file__), "README.md")).read() README = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
# automagic # automagic
requirements_parsed = parse_requirements(open(os.path.join(os.path.dirname(__file__), "requirements.txt"))) requirements_parsed = parse_requirements(open(os.path.join(os.path.dirname(__file__), "requirements.txt")), session=False)
requirements_list = [str(r.req) for r in requirements_parsed] requirements_list = [str(r.req) for r in requirements_parsed]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment