File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 22# -*- coding: utf-8 -*-
33
44try :
5+ from pathlib import Path
56 from setuptools import setup , Command
67except ImportError :
78 from distutils .core import setup , Command
@@ -30,6 +31,9 @@ def run(self):
3031
3132version = "0.41"
3233
34+ this_directory = Path (__file__ ).parent
35+ long_description = (this_directory / "README.md" ).read_text ()
36+
3337setup (
3438 name = "mysql-replication" ,
3539 version = version ,
@@ -38,6 +42,8 @@ def run(self):
38423943 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" ,
You can’t perform that action at this time.
0 commit comments