Skip to content

Commit c60c70e

Browse files
Add a long description to the package description
1 parent a5d403e commit c60c70e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup.py

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
try:
5+
from pathlib import Path
56
from setuptools import setup, Command
67
except ImportError:
78
from distutils.core import setup, Command
@@ -30,6 +31,9 @@ def run(self):
3031

3132
version = "0.41"
3233

34+
this_directory = Path(__file__).parent
35+
long_description = (this_directory / "README.md").read_text()
36+
3337
setup(
3438
name="mysql-replication",
3539
version=version,
@@ -38,6 +42,8 @@ def run(self):
3842
author_email="[email protected]",
3943
description=("Pure Python Implementation of MySQL replication protocol "
4044
"build on top of PyMYSQL."),
45+
long_description=long_description,
46+
long_description_content_type='text/markdown',
4147
license="Apache 2",
4248
packages=["pymysqlreplication",
4349
"pymysqlreplication.constants",

0 commit comments

Comments
 (0)