Skip to content

Commit

Permalink
Fix setup install for py37
Browse files Browse the repository at this point in the history
  • Loading branch information
kritchie committed Oct 10, 2018
1 parent ff2e479 commit 4c4f6da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import os

from setuptools import setup, find_packages
from pip.req import parse_requirements

try:
from pip._internal.req import parse_requirements
except ImportError:
from pip.req import parse_requirements

install_reqs = parse_requirements('requirements.txt', session=False)
test_reqs = parse_requirements('requirements_test.txt', session=False)
Expand Down

0 comments on commit 4c4f6da

Please sign in to comment.