packaging changes, pre-emptive version bump

This commit is contained in:
adustman
2002-04-28 19:55:08 +00:00
parent f1905e4605
commit 0b5cdd48b0
3 changed files with 35 additions and 3 deletions

View File

@ -1,3 +1,32 @@
0.9.2c1
* Use name of the python interpreter as part of the package name.
On Red Hat Linux (7.2 and earlier), the standard python package
is 1.5.2. The www.python.org RPM package for Python-2.2.1 is
python2, and their 2.1.3 package is python2.1. This is so you can
install all three at once; RPM considers them different packages.
With this packaging change, you'll now get:
python setup.py bdist_rpm # MySQL-python for python-1.5.2
python2.1 setup.py bdist_rpm # MySQL-python2.1 for python 2.1.x
python2 setup.py bdist_rpm # MySQL-python2 for python 2.2.x
Once Python 2.3 comes out, that will probably become the python2
package, and the Python 2.2.x version will become the python2.2
package, or at least that's what the progression seems to be.
Note that in the current Red Hat beta (skipjack), the python
package is still 1.5.2 and python2 is 2.2. Skipjack already
comes with MySQL-python-0.9.1, but I don't know what version of
Python it's compiled against. Who knows if Red Hat will follow
python.org's naming convention, but in any case, this change
shouldn't hurt anything.
* Plug: I will be at OScon2002 giving a tutorial session on the
Python DB-API, mostly using MySQLdb.
http://conferences.oreillynet.com/os2002/
0.9.2b2
* Avoid memory leak when using dictionary-based cursors

View File

@ -1,4 +1,4 @@
#define version_info "(0,9,2,'beta',2)"
#define version_info "(0,9,2,'gamma',1)"
#define __version__ "0.9.2"
/*
This program is free software; you can redistribute it and/or modify

View File

@ -17,6 +17,9 @@ thread_safe_library = YES
# do, please mail me the configuration for your platform. Don't
# forget to include the value of sys.platform and os.name.
name = "MySQL-%s" % os.path.basename(sys.executable)
version = "0.9.2c1"
mysqlclient = thread_safe_library and "mysqlclient_r" or "mysqlclient"
# include files and library locations should cover most platforms
@ -91,8 +94,8 @@ MySQLdb. MySQLdb is free software.
"""
setup (# Distribution meta-data
name = "MySQL-python",
version = "0.9.2b2",
name = name,
version = version,
description = "An interface to MySQL",
long_description=long_description,
author = "Andy Dustman",