Skip to content

Commit 3e78a07

Browse files
committed
SDK-1600: Use README.md for package long_description
1 parent 20e1e3f commit 3e78a07

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

setup.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
from setuptools import find_packages
33
from setuptools import setup
44

5-
long_description = (
6-
"This package contains the tools you need to quickly "
7-
"integrate your Python back-end with Yoti, so that your "
8-
"users can share their identity details with your "
9-
"application in a secure and trusted way."
10-
)
11-
125
version = {}
136
with open("yoti_python_sdk/version.py") as fp:
147
exec(fp.read(), version)
@@ -19,7 +12,8 @@
1912
packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]),
2013
license="MIT",
2114
description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.",
22-
long_description=long_description,
15+
long_description=open("README.md").read(),
16+
long_description_content_type="text/markdown",
2317
url="https://github.com/getyoti/yoti-python-sdk",
2418
author="Yoti",
2519
author_email="[email protected]",

0 commit comments

Comments
 (0)