main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | ==================== |
---|
2 | PyMySQL Installation |
---|
3 | ==================== |
---|
4 | |
---|
5 | .. contents:: |
---|
6 | .. |
---|
7 | This package contains a pure-Python MySQL client library. |
---|
8 | Documentation on the MySQL client/server protocol can be found here: |
---|
9 | http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol |
---|
10 | If you would like to run the test suite, edit the config parameters in |
---|
11 | pymysql/tests/base.py. The goal of pymysql is to be a drop-in |
---|
12 | replacement for MySQLdb and work on CPython 2.3+, Jython, IronPython, PyPy |
---|
13 | and Python 3. We test for compatibility by simply changing the import |
---|
14 | statements in the Django MySQL backend and running its unit tests as well |
---|
15 | as running it against the MySQLdb and myconnpy unit tests. |
---|
16 | |
---|
17 | Requirements |
---|
18 | ------------- |
---|
19 | |
---|
20 | + Python 2.4 or higher |
---|
21 | |
---|
22 | * http://www.python.org/ |
---|
23 | |
---|
24 | * 2.6 is the primary test environment. |
---|
25 | |
---|
26 | * MySQL 4.1 or higher |
---|
27 | |
---|
28 | * protocol41 support, experimental 4.0 support |
---|
29 | |
---|
30 | Installation |
---|
31 | ------------ |
---|
32 | |
---|
33 | # easy_install pymysql |
---|
34 | # ... or ... |
---|
35 | # python setup.py install |
---|
36 | |
---|
37 | Python 3.0 Support |
---|
38 | ------------------ |
---|
39 | |
---|
40 | Simply run the build-py3k.sh script from the local directory. It will |
---|
41 | build a working package in the ./py3k directory. |
---|
Note: See
TracBrowser
for help on using the repository browser.