copy version over so that we stop loading cbson when doing 'python setup.py test'

This commit is contained in:
Mike Dirolf 2010-05-10 17:28:44 -04:00
parent 566bc9fb7b
commit 434927cb7c
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ SLOW_ONLY = 1
ALL = 2
"""Profile all operations."""
# Remember to change in setup.py as well!
version = "1.6+"
"""Current version of PyMongo."""

View File

@ -19,7 +19,8 @@ from distutils.errors import CCompilerError
from distutils.errors import DistutilsPlatformError, DistutilsExecError
from distutils.core import Extension
from pymongo import version
# Remember to change in pymongo/__init__.py as well!
version = "1.6+"
f = open("README.rst")
try: