Skip to content

Commit

Permalink
Migrate to pip10
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Vergeev committed Apr 16, 2018
1 parent 1a604af commit ccac116
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 ccac116

Please sign in to comment.