Skip to content

Commit

Permalink
Apply compatibility fix for pip 6
Browse files Browse the repository at this point in the history
the fix applied is the same of brettcannon/caniusepython3#72
  • Loading branch information
evilaliv3 committed Feb 9, 2015
1 parent 1bcc6ed commit fcb69bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
import sys

from pip.req import parse_requirements
import pip
from setuptools import find_packages, setup
from setuptools.command.test import test as _TestCommand

Expand All @@ -21,7 +21,8 @@
raise AssertionError


install_requires = [str(r.req) for r in parse_requirements('requirements.txt')]
install_requires = [str(r.req) for r in pip.req.parse_requirements('requirements.txt',
session=pip.download.PipSession())]

def list_files(path):
"""
Expand Down

0 comments on commit fcb69bc

Please sign in to comment.