Skip to content

Commit 72739e1

Browse files
add pypi long description
1 parent a885da1 commit 72739e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ def find_libxml2_include():
7272
language="c++"),
7373
]
7474

75+
this_directory = os.path.abspath(os.path.dirname(__file__))
76+
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
77+
long_description = f.read()
78+
7579
setup(
7680
name='extractnet',
7781
version='1.0.4',
@@ -82,6 +86,8 @@ def find_libxml2_include():
8286
license='MIT',
8387
platforms='Posix; MacOS X',
8488
keywords='automatic content extraction, web page dechroming, HTML parsing',
89+
long_description=long_description,
90+
long_description_content_type='text/markdown',
8591
classifiers=[
8692
'License :: OSI Approved :: MIT License',
8793
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)