@@ -8,17 +8,17 @@ MySQLdb Installation
8
8
Prerequisites
9
9
-------------
10
10
11
- + Python 2.7, 3.4 or higher
11
+ + Python 2.7, 3.5 or higher
12
12
13
13
+ setuptools
14
14
15
- * http ://pypi.python. org/pypi /setuptools
15
+ * https ://pypi.org/project /setuptools/
16
16
17
17
+ MySQL 5.5 or higher
18
18
19
- * http ://www.mysql.com/downloads/
19
+ * https ://www.mysql.com/downloads/
20
20
21
- * MySQL-5.0 may work, but not supported.
21
+ * MySQL 5.1 may work, but not supported.
22
22
23
23
+ C compiler
24
24
@@ -44,8 +44,7 @@ edit the [options] section of site.cfg:
44
44
45
45
static
46
46
if True, try to link against a static library; otherwise link
47
- against dynamic libraries (default). You may need static linking
48
- to use the embedded server.
47
+ against dynamic libraries (default).
49
48
This option doesn't work for MySQL>5.6 since libmysqlclient
50
49
requires libstdc++. If you want to use, add `-lstdc++ ` to
51
50
mysql_config manually.
@@ -94,25 +93,11 @@ contributes one, I will make it available. Several OS vendors have
94
93
their own packages available.
95
94
96
95
97
- RPMs
98
- ....
99
-
100
- If you prefer to install RPMs, you can use the bdist_rpm command with
101
- setup.py. This only builds the RPM; it does not install it. You may
102
- want to use the --python=XXX option, where XXX is the name of the
103
- Python executable, i.e. python, python2, python2.4; the default is
104
- python. Using this will incorporate the Python executable name into
105
- the package name for the RPM so you have install the package multiple
106
- times if you need to support more than one version of Python. You can
107
- also set this in setup.cfg.
108
-
109
-
110
96
Red Hat Linux
111
97
.............
112
98
113
99
MySQL-python is pre-packaged in Red Hat Linux 7.x and newer. This
114
- includes Fedora Core and Red Hat Enterprise Linux. You can also
115
- build your own RPM packages as described above.
100
+ includes Fedora Core and Red Hat Enterprise Linux.
116
101
117
102
118
103
Debian GNU/Linux
0 commit comments