fix setup.py so pip install does not fail #3

Closed
eschmidbauer wants to merge 1 commits from eschmidbauer:fix-pip-install into master

View File

@ -1,8 +1,11 @@
import setuptools
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
with open("README.old.md", "r", encoding="utf-8") as fh:
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(