Skip to content

Commit

Permalink
fix for newer pip
Browse files Browse the repository at this point in the history
  • Loading branch information
kratzersemsotec committed Feb 2, 2017
1 parent 7fc719c commit 10190eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# encoding: utf-8
from setuptools import setup, find_packages
from pip.req import parse_requirements
import pip

install_reqs = parse_requirements("requirements.txt")
install_reqs = parse_requirements("requirements.txt", session=pip.download.PipSession())
reqs = [str(each.req) for each in install_reqs if each.req]

setup(
Expand Down

0 comments on commit 10190eb

Please sign in to comment.