Minor updates.

This commit is contained in:
adustman
2000-12-01 01:46:43 +00:00
parent 7100769c8c
commit 5ea99b0b76
5 changed files with 80 additions and 37 deletions

View File

@ -18,7 +18,7 @@ thread_safe_library = NO
mysqlclient = thread_safe_library and "mysqlclient_r" or "mysqlclient"
if sys.platform == "linux-386": # Red Hat
if sys.platform == "linux-i386": # Red Hat
include_dirs = ['/usr/include/mysql']
library_dirs = ['/usr/lib/mysql']
libraries = [mysqlclient, "z"]
@ -48,10 +48,30 @@ else:
raise "UnknownPlatform", "sys.platform=%s, os.name=%s" % \
(sys.platform, os.name)
long_description = \
"""Python interface to MySQL-3.22 and 3.23
MySQLdb is an interface to the popular MySQL database server for Python.
The design goals are:
- Compliance with Python database API version 2.0
- Thread-safety
- Thread-friendliness (threads will not block each other)
- Compatibility with MySQL 3.22 and 3.23
This module should be mostly compatible with an older interface
written by Joe Skinner and others. However, the older version is
a) not thread-friendly, b) written for MySQL 3.21, c) apparently
not actively maintained. No code from that version is used in
MySQLdb. MySQLdb is distributed free of charge under a license
derived from the Python license.
"""
setup (# Distribution meta-data
name = "MySQLdb",
version = "0.3.0b2",
name = "MySQL-python",
version = "0.3.0",
description = "An interface to MySQL",
long_description=long_description,
author = "Andy Dustman",
author_email = "andy@dustman.net",
url = "http://dustman.net/andy/python/MySQLdb",
@ -61,7 +81,7 @@ setup (# Distribution meta-data
py_modules = ["MySQLdb", "CompatMysqldb"],
ext_modules = [Extension(
name='_mysqlmodule',
name='_mysql',
sources=['_mysqlmodule.c'],
include_dirs=include_dirs,
library_dirs=library_dirs,