Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Generate long_description from README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Dec 1, 2018
1 parent 1c1dab5 commit 11f9cfe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
#!/usr/bin/env python3
import os

from setuptools import setup

from doxyqml import __version__, DESCRIPTION


def read_readme():
root_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(root_dir, 'README.md'), encoding='utf-8') as f:
return f.read()


setup(name="doxyqml",
version=__version__,
description=DESCRIPTION,
long_description=read_readme(),
long_description_content_type="text/markdown",
author="Aurélien Gâteau",
author_email="mail@agateau.com",
license="BSD",
Expand Down

0 comments on commit 11f9cfe

Please sign in to comment.