Commit b6078a8a authored by Isaak Lim's avatar Isaak Lim

use content type 'markdown' instead of converting the README to rst

parent 2f554c29
Pipeline #6601 passed with stages
in 7 minutes and 4 seconds
......@@ -9,6 +9,10 @@ from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion
def readme():
return open('README.md').read()
class CMakeExtension(Extension):
def __init__(self, name, sourcedir=''):
Extension.__init__(self, name, sources=[])
......@@ -84,7 +88,8 @@ setup(
author='Alexander Dielen, Isaak Lim, Janis Born',
author_email='isaak.lim@cs.rwth-aachen.de',
description='Python bindings for OpenMesh.',
long_description_markdown_filename='README.md',
long_description=readme(),
long_description_content_type='text/markdown',
ext_modules=[CMakeExtension('openmesh')],
cmdclass=dict(build_ext=CMakeBuild),
zip_safe=False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment