register README to PyPI in next release
This commit is contained in:
parent
c35cd81544
commit
c364263593
5
setup.py
5
setup.py
@ -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=[
|
||||
|
Loading…
Reference in New Issue
Block a user