diff --git a/setup.py b/setup.py index 803c1ed0a88a6a396f322a786677ccede158d7b9..c8b3ebabe5de8d7db10081b6613a1c969e5580ba 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import os +from pathlib import Path import re from setuptools import setup @@ -7,11 +8,15 @@ from setuptools import setup with open(os.path.join(os.path.dirname(__file__), "opengauss_sqlalchemy", "__init__.py")) as fd: VERSION = re.compile(r'.*__version__ = "(.*?)"', re.S).match(fd.read()).group(1) +long_description = (Path(__file__).parent/ "README.md").read_text() + setup( name="opengauss-sqlalchemy", version=VERSION, description="OpenGauss Dialect for SQLAlchemy", + long_description=long_description, + long_description_content_type="text/markdown", author="Jia Junsu", author_email="jiajunsu@huawei.com", url="https://gitee.com/opengauss/openGauss-sqlalchemy", @@ -19,7 +24,7 @@ setup( classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT", + "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2",