Skip to content

Commit

Permalink
Merge pull request devmanorg#113 from vergeev/requirements-fix
Browse files Browse the repository at this point in the history
Migrate to pip10
  • Loading branch information
Melevir authored Apr 16, 2018
2 parents 1a604af + ccac116 commit 86d302f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
from setuptools.command.install import install
from codecs import open
from os import path
from pip.req import parse_requirements


here = path.abspath(path.dirname(__file__))


def load_requirements():
requirements = [str(r.req) for r in
parse_requirements('requirements.txt', session=False)]
requirements = list(line.split()[0] for line in open("requirements.txt"))
return requirements


Expand Down

0 comments on commit 86d302f

Please sign in to comment.