Skip to content

Commit 9bf0966

Browse files
committed
MAINT: provide long_description_content_type to appease twine warning
1 parent bce2831 commit 9bf0966

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 = '[email protected]'
1313
DESCRIPTION = "Graphical User Interface for LArray library"
1414
LONG_DESCRIPTION = readlocal("README.rst")
15+
LONG_DESCRIPTION_CONTENT_TYPE = "text/x-rst"
1516
SETUP_REQUIRES = []
1617
# pyqt cannot be installed via pypi. Dependencies (pyqt, qtpy and matplotlib) moved to conda recipe
1718
# requires larray >= 0.32 because of the LArray -> Array rename
@@ -51,6 +52,7 @@ def readlocal(fname):
5152
classifiers=CLASSIFIERS,
5253
description=DESCRIPTION,
5354
long_description=LONG_DESCRIPTION,
55+
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
5456
setup_requires=SETUP_REQUIRES,
5557
install_requires=INSTALL_REQUIRES,
5658
tests_require=TESTS_REQUIRE,

0 commit comments

Comments
 (0)