Skip to content

Commit 3de469d

Browse files
committed
1.3.13
1 parent 99c1eea commit 3de469d

File tree

4 files changed

+24
-38
lines changed

4 files changed

+24
-38
lines changed

HISTORY.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
======================
2+
What's new in 1.3.13
3+
======================
4+
5+
Support build with MySQL 8
6+
7+
Fix decoding tiny/medium/long blobs (#215)
8+
9+
Remove broken row_seek() and row_tell() APIs (#220)
10+
11+
Reduce callproc roundtrip time (#223)
12+
13+
114
======================
215
What's new in 1.3.12
316
======================

MySQLdb/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"""MySQLdb - A DB API v2.0 compatible interface to MySQL.
1+
"""
2+
MySQLdb - A DB API v2.0 compatible interface to MySQL.
23
34
This package is a wrapper around _mysql, which mostly implements the
45
MySQL C API.
@@ -10,10 +11,8 @@
1011
1112
For information on how MySQLdb handles type conversion, see the
1213
MySQLdb.converters module.
13-
1414
"""
1515

16-
__revision__ = """$Revision$"""[11:-2]
1716
from MySQLdb.release import __version__, version_info, __author__
1817

1918
import _mysql
@@ -98,6 +97,3 @@ def Connect(*args, **kwargs):
9897
'escape_sequence', 'escape_string', 'get_client_info',
9998
'paramstyle', 'string_literal', 'threadsafety', 'version_info']
10099

101-
102-
103-

metadata.cfg

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,7 @@
11
[metadata]
2-
version: 1.3.12
3-
version_info: (1,3,12,'final',0)
2+
version: 1.3.13
3+
version_info: (1,3,13,'final',0)
44
description: Python interface to MySQL
5-
long_description:
6-
=========================
7-
Python interface to MySQL
8-
=========================
9-
\n
10-
mysqlclient is a fork of MySQL-python. It adds Python 3 support
11-
and fixed many bugs.
12-
\n
13-
MySQLdb is an interface to the popular MySQL_ database server for
14-
Python. The design goals are:
15-
\n
16-
- Compliance with Python database API version 2.0 [PEP-0249]_
17-
- Thread-safety
18-
- Thread-friendliness (threads will not block each other)
19-
\n
20-
MySQL-5.5 through 5.7 and Python 2.7, 3.4+ are currently supported.
21-
PyPy is supported too.
22-
\n
23-
MySQLdb is `Free Software`_.
24-
\n
25-
.. _MySQL: http://www.mysql.com/
26-
.. _`Free Software`: http://www.gnu.org/
27-
.. [PEP-0249] https://www.python.org/dev/peps/pep-0249/
285
author: Andy Dustman
296
author_email: farcepest@gmail.com
307
maintainer: INADA Naoki
@@ -47,7 +24,6 @@ classifiers:
4724
Programming Language :: Python :: 2
4825
Programming Language :: Python :: 2.7
4926
Programming Language :: Python :: 3
50-
Programming Language :: Python :: 3.3
5127
Programming Language :: Python :: 3.4
5228
Programming Language :: Python :: 3.5
5329
Programming Language :: Python :: 3.6

setup.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
#!/usr/bin/env python
22

33
import os
4+
import io
45
import sys
56

67
import distutils.errors
78
import setuptools
89

9-
if not hasattr(sys, "hexversion") or sys.hexversion < 0x02060000:
10-
raise distutils.errors.DistutilsError("Python 2.6 or newer is required")
11-
1210
if os.name == "posix":
1311
from setup_posix import get_config
1412
else: # assume windows
1513
from setup_windows import get_config
1614

15+
with io.open('README.md', encoding='utf-8') as f:
16+
readme = f.read()
17+
1718
metadata, options = get_config()
18-
metadata['ext_modules'] = [
19-
setuptools.Extension(sources=['_mysql.c'], **options)]
20-
metadata['long_description'] = metadata['long_description'].replace(r'\n', '')
19+
metadata['ext_modules'] = [setuptools.Extension(sources=['_mysql.c'], **options)]
20+
metadata['long_description'] = readme
21+
metadata['long_description_content_type'] = "text/markdown"
2122
setuptools.setup(**metadata)

0 commit comments

Comments
 (0)