fix setup.py

pull/11/head
deadc0de6 6 years ago
parent bc8c66a7c4
commit d3b5df8be5

@ -8,7 +8,7 @@ here = path.abspath(path.dirname(__file__))
try: try:
from pypandoc import convert from pypandoc import convert
read_readme = lambda f: convert(f, 'rst') read_readme = lambda f: convert_file(f, 'rst')
except ImportError: except ImportError:
print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme)) print('\n[WARNING] pypandoc not found, could not convert \"{}\"\n'.format(readme))
read_readme = lambda f: open(f, 'r').read() read_readme = lambda f: open(f, 'r').read()
@ -29,7 +29,7 @@ setup(
author_email='deadc0de6@foo.bar', author_email='deadc0de6@foo.bar',
license='GPLv3', license='GPLv3',
requires_python=REQUIRES_PYTHON, python_requires=REQUIRES_PYTHON,
classifiers=[ classifiers=[
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.3',

Loading…
Cancel
Save