Skip to content

Commit 3922b79

Browse files
committed
fix pypi
1 parent 26c67a9 commit 3922b79

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

jsonpyes_contrib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
"""
33
# version number like 1.2.3a0 or 1.2.3, must have at least 2 parts, like 1.2
4-
__version__ = '1.4.0'
4+
__version__ = '1.4.1'

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def read_file(filename, encoding='utf8'):
5151

5252
# Get the long description from the README file
5353
readme = read_file(os.path.join(here, 'README.rst'))
54+
readme_md = read_file(os.path.join(here, 'README.md'))
5455
# changes = read_file(os.path.join(here, 'CHANGES.rst'))
5556
version = meta['version']
5657

@@ -61,7 +62,8 @@ def read_file(filename, encoding='utf8'):
6162
author_email='[email protected]',
6263
license="FTE V1",
6364
description="A Tool to Import JSON raw data to ElasticSearch in one line of commands",
64-
long_description=readme,
65+
long_description=readme_md,
66+
long_description_content_type='text/markdown',
6567
platforms=["Unix","Linux","OSX","Android","Windows"],
6668
url="https://github.com/xros/jsonpyes",
6769
# download_url="https://github.com/xros/jsonpyes/tarball/" + version,

0 commit comments

Comments
 (0)