This commit is contained in:
INADA Naoki
2018-06-27 20:27:54 +09:00
parent 99c1eea578
commit 3de469db63
4 changed files with 24 additions and 38 deletions

View File

@ -1,3 +1,16 @@
======================
What's new in 1.3.13
======================
Support build with MySQL 8
Fix decoding tiny/medium/long blobs (#215)
Remove broken row_seek() and row_tell() APIs (#220)
Reduce callproc roundtrip time (#223)
======================
What's new in 1.3.12
======================

View File

@ -1,4 +1,5 @@
"""MySQLdb - A DB API v2.0 compatible interface to MySQL.
"""
MySQLdb - A DB API v2.0 compatible interface to MySQL.
This package is a wrapper around _mysql, which mostly implements the
MySQL C API.
@ -10,10 +11,8 @@ on other items.
For information on how MySQLdb handles type conversion, see the
MySQLdb.converters module.
"""
__revision__ = """$Revision$"""[11:-2]
from MySQLdb.release import __version__, version_info, __author__
import _mysql
@ -98,6 +97,3 @@ __all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
'escape_sequence', 'escape_string', 'get_client_info',
'paramstyle', 'string_literal', 'threadsafety', 'version_info']

View File

@ -1,30 +1,7 @@
[metadata]
version: 1.3.12
version_info: (1,3,12,'final',0)
version: 1.3.13
version_info: (1,3,13,'final',0)
description: Python interface to MySQL
long_description:
=========================
Python interface to MySQL
=========================
\n
mysqlclient is a fork of MySQL-python. It adds Python 3 support
and fixed many bugs.
\n
MySQLdb is an interface to the popular MySQL_ database server for
Python. The design goals are:
\n
- Compliance with Python database API version 2.0 [PEP-0249]_
- Thread-safety
- Thread-friendliness (threads will not block each other)
\n
MySQL-5.5 through 5.7 and Python 2.7, 3.4+ are currently supported.
PyPy is supported too.
\n
MySQLdb is `Free Software`_.
\n
.. _MySQL: http://www.mysql.com/
.. _`Free Software`: http://www.gnu.org/
.. [PEP-0249] https://www.python.org/dev/peps/pep-0249/
author: Andy Dustman
author_email: farcepest@gmail.com
maintainer: INADA Naoki
@ -47,7 +24,6 @@ classifiers:
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6

View File

@ -1,21 +1,22 @@
#!/usr/bin/env python
import os
import io
import sys
import distutils.errors
import setuptools
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02060000:
raise distutils.errors.DistutilsError("Python 2.6 or newer is required")
if os.name == "posix":
from setup_posix import get_config
else: # assume windows
from setup_windows import get_config
with io.open('README.md', encoding='utf-8') as f:
readme = f.read()
metadata, options = get_config()
metadata['ext_modules'] = [
setuptools.Extension(sources=['_mysql.c'], **options)]
metadata['long_description'] = metadata['long_description'].replace(r'\n', '')
metadata['ext_modules'] = [setuptools.Extension(sources=['_mysql.c'], **options)]
metadata['long_description'] = readme
metadata['long_description_content_type'] = "text/markdown"
setuptools.setup(**metadata)