Skip to content

Commit e6ea580

Browse files
committed
Switch to markdown on PyPI long description.
1 parent 16aadec commit e6ea580

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

setup.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,9 @@
3434

3535
version = tika.__version__
3636

37-
_descr = u'''
38-
***************
39-
tika
40-
***************
37+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
38+
_descr = f.read()
4139

42-
.. contents::
43-
Tika python pure REST based library.
44-
'''
4540
_keywords = 'tika digital babel fish apache'
4641
_classifiers = [
4742
'Development Status :: 3 - Alpha',
@@ -67,6 +62,7 @@ def read(*rnames):
6762
version=version,
6863
description='Apache Tika Python library',
6964
long_description=long_description,
65+
long_description_content_type='text/markdown',
7066
classifiers=_classifiers,
7167
keywords=_keywords,
7268
author='Chris Mattmann',

0 commit comments

Comments
 (0)