8000 MAINT: provide long_description_content_type to appease twine warning… · larray-project/larray@f6c3d17 · GitHub
[go: up one dir, main page]

Skip to content

Commit f6c3d17

Browse files
committed
MAINT: provide long_description_content_type to appease twine warning (closes #1060)
1 parent 2acb45e commit f6c3d17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def readlocal(fname):
1212
AUTHOR_EMAIL = 'gdementen@gmail.com'
1313
DESCRIPTION = "N-D labeled arrays in Python"
1414
LONG_DESCRIPTION = readlocal("README.rst")
15+
LONG_DESCRIPTION_CONTENT_TYPE = "text/x-rst"
1516
SETUP_REQUIRES = []
1617
# - pandas >= 0.20.0 is required since commit 01669f2024a7bffe47cceec0a0fd845f71b6f7cc
1718
# (issue 702 : fixed bug when writing metadata using HDF format)
@@ -46,6 +47,7 @@ def readlocal(fname):
4647
classifiers=CLASSIFIERS,
4748
description=DESCRIPTION,
4849
long_description=LONG_DESCRIPTION,
50+
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
4951
setup_requires=SETUP_REQUIRES,
5052
install_requires=INSTALL_REQUIRES,
5153
tests_require=TESTS_REQUIRE,

0 commit comments

Comments
 (0)
0