From bf018f25ac7a4e906e79d0791dab646a88c3e777 Mon Sep 17 00:00:00 2001 From: Jonathan Sharpe Date: Tue, 17 Jul 2018 12:12:32 +0100 Subject: [PATCH] Attempt to get description showing in PyPI --- README.rst | 10 ---------- setup.py | 9 ++++++++- 2 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 README.rst diff --git a/README.rst b/README.rst deleted file mode 100644 index 2789983..0000000 --- a/README.rst +++ /dev/null @@ -1,10 +0,0 @@ -Bulrush -======= - -A `Bulma`_-based `Pelican`_ blog theme; clean, flexible and responsive. - -For more information, see `the GitHub repo`_. - - .. _Bulma: http://bulma.io/ - .. _Pelican: http://docs.getpelican.com/en/stable/ - .. _the GitHub repo: https://github.com/textbook/bulrush#readme diff --git a/setup.py b/setup.py index 3b9c660..881d452 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,10 @@ +from os import path from setuptools import setup +here = path.abspath(path.dirname(__file__)) +with open('{}/README.md'.format(here)) as readme: + long_description = readme.read() + setup( author='Jonathan Sharpe', author_email='mail@jonrshar.pe', @@ -12,6 +17,8 @@ description='Bulrush theme for Pelican', install_requires=['markupsafe', 'webassets', 'yuicompressor'], license='ISC', + long_description=long_description, + long_description_content_type='text/markdown', name='bulrush', package_data={ 'bulrush': [ @@ -23,5 +30,5 @@ test_suite='tests', tests_require=['pelican'], url='https://github.com/textbook/bulrush', - version='0.2.0', + version='0.2.1', )