Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 83b0a65

Browse files
committed
Include README in package metadata.
1 parent 77d37f4 commit 83b0a65

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
2020
"""
2121

22+
from os import path
2223
from setuptools import setup, find_packages
2324

2425
requirements_file = open('requirements.txt')
@@ -28,8 +29,14 @@
2829
version = version_file.read().strip()
2930
version_file.close()
3031

32+
this_directory = path.abspath(path.dirname(__file__))
33+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
34+
long_description = f.read()
35+
3136
setup_args = {
3237
'description': 'Cloudant / CouchDB Client Library',
38+
'long_description': long_description,
39+
'long_description_content_type': 'text/markdown',
3340
'include_package_data': True,
3441
'install_requires': requirements,
3542
'name': 'cloudant',

0 commit comments

Comments
 (0)