Skip to content

Commit b687a34

Browse files
authored
Merge pull request #108 from hugovk/long_description
Use README.md as description on PyPI
2 parents d2aea5a + cbf4c5d commit b687a34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@
1010
# Required due to missing socket.inet_ntop & socket.inet_pton method in Windows Python 2.x
1111
requirements.append("win-inet-pton")
1212

13+
with open('README.md') as f:
14+
long_description = f.read()
15+
1316
setup(
1417
name = "PySocks",
1518
version = VERSION,
1619
description = "A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information.",
20+
long_description=long_description,
21+
long_description_content_type='text/markdown',
1722
url = "https://github.com/Anorov/PySocks",
1823
license = "BSD",
1924
author = "Anorov",

0 commit comments

Comments
 (0)