register README to PyPI in next release

This commit is contained in:
INADA Naoki 2017-04-06 03:18:28 +09:00
parent c35cd81544
commit c364263593
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python
import io
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
@ -8,6 +9,9 @@ if version_tuple[3] is not None:
else:
version = "%d.%d.%d" % version_tuple[:3]
with open('./README.rst', encoding='utf-8') as f:
readme = f.read()
setup(
name="PyMySQL",
version=version,
@ -17,6 +21,7 @@ setup(
maintainer='INADA Naoki',
maintainer_email='songofacandy@gmail.com',
description='Pure Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[