Skip to content

Commit 1d2672f

Browse files
committed
Merge branch 'fix_windows' into MySQL-for-Python3
2 parents 278f88c + fa8ca97 commit 1d2672f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Diff for: _mysql.c

-4
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ PERFORMANCE OF THIS SOFTWARE.
3232
#endif
3333
#include "pymemcompat.h"
3434
#include "structmember.h"
35-
#if defined(MS_WINDOWS)
36-
#include <config-win.h>
37-
#else
3835
#include "my_config.h"
39-
#endif
4036
#include "mysql.h"
4137
#include "mysqld_error.h"
4238
#include "errmsg.h"

Diff for: setup_windows.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_config():
1414
else:
1515
client = "mysqlclient"
1616

17-
library_dirs = [ os.path.join(connector, r'lib\opt') ]
17+
library_dirs = [ os.path.join(connector, r'lib\vs11') ]
1818
libraries = [ 'kernel32', 'advapi32', 'wsock32', client ]
1919
include_dirs = [ os.path.join(connector, r'include') ]
2020
extra_compile_args = [ '/Zl' ]

Diff for: site.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ static = False
1414

1515
# http://stackoverflow.com/questions/1972259/mysql-python-install-problem-using-virtualenv-windows-pip
1616
# Windows connector libs for MySQL. You need a 32-bit connector for your 32-bit Python build.
17-
connector = C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2
17+
connector = C:\Program Files (x86)\MySQL\MySQL Connector C 6.1

0 commit comments

Comments
 (0)