mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-16 12:27:03 +08:00
Bump version number, freebsd4 setup.
This commit is contained in:
@ -24,6 +24,12 @@ if sys.platform == "linux-i386": # Red Hat
|
|||||||
libraries = [mysqlclient, "z"]
|
libraries = [mysqlclient, "z"]
|
||||||
runtime_library_dirs = []
|
runtime_library_dirs = []
|
||||||
extra_objects = []
|
extra_objects = []
|
||||||
|
elif sys.platform == "freebsd4":
|
||||||
|
include_dirs = ['/usr/local/include/mysql']
|
||||||
|
library_dirs = ['/usr/local/lib/mysql']
|
||||||
|
libraries = [mysqlclient, "z"]
|
||||||
|
runtime_library_dirs = []
|
||||||
|
extra_objects = []
|
||||||
elif sys.platform == "win32":
|
elif sys.platform == "win32":
|
||||||
include_dirs = [r'c:\mysql\include']
|
include_dirs = [r'c:\mysql\include']
|
||||||
library_dirs = [r'c:\mysql\lib\opt']
|
library_dirs = [r'c:\mysql\lib\opt']
|
||||||
@ -69,7 +75,7 @@ derived from the Python license.
|
|||||||
|
|
||||||
setup (# Distribution meta-data
|
setup (# Distribution meta-data
|
||||||
name = "MySQL-python",
|
name = "MySQL-python",
|
||||||
version = "0.3.3",
|
version = "0.3.4",
|
||||||
description = "An interface to MySQL",
|
description = "An interface to MySQL",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author = "Andy Dustman",
|
author = "Andy Dustman",
|
||||||
@ -78,8 +84,15 @@ setup (# Distribution meta-data
|
|||||||
|
|
||||||
# Description of the modules and packages in the distribution
|
# Description of the modules and packages in the distribution
|
||||||
|
|
||||||
py_modules = ["MySQLdb", "CompatMysqldb"],
|
py_modules = ["MySQLdb", "CompatMysqldb",
|
||||||
|
"_mysql_const.__init__",
|
||||||
|
"_mysql_const.CR",
|
||||||
|
"_mysql_const.FIELD_TYPE",
|
||||||
|
"_mysql_const.ER",
|
||||||
|
"_mysql_const.FLAG",
|
||||||
|
"_mysql_const.REFRESH",
|
||||||
|
"_mysql_const.CLIENT",
|
||||||
|
],
|
||||||
ext_modules = [Extension(
|
ext_modules = [Extension(
|
||||||
name='_mysql',
|
name='_mysql',
|
||||||
sources=['_mysqlmodule.c'],
|
sources=['_mysqlmodule.c'],
|
||||||
|
Reference in New Issue
Block a user