Skip to content

Commit ac8cc29

Browse files
author
Nick MacCarthy
committed
fix order of decription types
1 parent 8b6f996 commit ac8cc29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414

1515
# Get the long description from the README file
1616
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
17-
long_description = f.read()
18-
long_description_content_type = "text/markdown"
17+
long_description_from_readme = f.read()
1918

2019
with open(path.join(here, 'VERSION.txt'), encoding='utf-8') as fv:
2120
version = fv.read()
@@ -31,8 +30,9 @@
3130

3231
description='A python module to emulate the date math used in SOLR and Elasticsearch',
3332

34-
long_description=long_description,
35-
long_description_content_type='text/markdown',
33+
long_description_content_type="text/markdown",
34+
long_description=long_description_from_readme,
35+
3636

3737
# The project's main homepage.
3838
url='https://github.com/nickmaccarthy/python-datemath',

0 commit comments

Comments
 (0)