From f749e97589def9c3b5876bf69444d081e77a3bb9 Mon Sep 17 00:00:00 2001 From: YevhenLukomskyi Date: Thu, 3 Jan 2019 22:48:35 +0200 Subject: [PATCH] set package long description --- MANIFEST.in | 1 + setup.py | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index b16f3092..9e8199cd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ +include README.md exclude .* MANIFEST.in global-exclude __pycache__ global-exclude *.py[co] diff --git a/setup.py b/setup.py index 5a7bf67e..88c0a731 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,15 @@ #!/usr/bin/env python +import os from glob import glob from distutils.core import setup +def read(fname): + with open(os.path.join(os.path.dirname(__file__), fname)) as f: + return f.read() + + setup( name='whisper', version='1.2.0', @@ -12,6 +18,8 @@ author_email='chrismd@gmail.com', license='Apache Software License 2.0', description='Fixed size round-robin style database', + long_description=read('README.md'), + long_description_content_type='text/markdown', py_modules=['whisper'], scripts=glob('bin/*') + glob('contrib/*'), install_requires=['six'],