From 0e07730e3b6afb801245dfd3c6191c400af96863 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 2 Sep 2018 16:17:34 +0200 Subject: [PATCH] update setup.py --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2787c51..5b1aa18 100644 --- a/setup.py +++ b/setup.py @@ -8,8 +8,8 @@ readme = 'README.md' here = path.abspath(path.dirname(__file__)) try: - from pypandoc import convert - read_readme = lambda f: convert(f, 'rst') + from pypandoc import convert_file + read_readme = lambda f: convert_file(f, 'rst') except ImportError: print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme)) read_readme = lambda f: open(f, 'r').read() @@ -29,7 +29,7 @@ setup( author_email='deadc0de6@foo.bar', license='GPLv3', - requires_python=REQUIRES_PYTHON, + python_requires=REQUIRES_PYTHON, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python :: 3.3',