Skip to content

Commit 1ec43a9

Browse files
committed
Switch to built-in setuptools functionality
Looks like setuptools-markdown is deprecated in favor of a built-in setuptools functionality. Worse is that setuptools_markdown isn't compatible with a recent versions of a pypandoc library. Let's just drop it. See also man-group/pytest-plugins#87. Signed-off-by: Peter Lemenkov <[email protected]>
1 parent cc0d124 commit 1ec43a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,21 @@
4040
extras_require['doc']
4141
)
4242

43+
with open('README.md', encoding="utf-8") as f:
44+
long_description = f.read()
4345

4446
setup(
4547
name='rlp',
4648
# *IMPORTANT*: Don't manually change the version here. See README for more.
4749
version='3.0.0',
4850
description="A package for Recursive Length Prefix encoding and decoding",
49-
long_description_markdown_filename='README.md',
51+
long_description=long_description,
52+
long_description_content_type="text/markdown",
5053
author="jnnk",
5154
author_email='[email protected]',
5255
url='https://github.com/ethereum/pyrlp',
5356
packages=find_packages(exclude=["tests", "tests.*"]),
5457
include_package_data=True,
55-
setup_requires=['setuptools-markdown'],
5658
install_requires=[
5759
"eth-utils>=2.0.0,<3",
5860
],

0 commit comments

Comments
 (0)