MongoEngine/mongoengine — pull request #99 by anemitz (2012-08-25 16:36:17+00:00)
Title: Fixing version calculation

```
======================================================================
ERROR: Failure: NameError (global name 'VERSIONs' is not defined)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/anemitz/Dropbox/projects/mongoengine/tests/test_dereference.py", line 6, in
from mongoengine import *
File "/Users/anemitz/Dropbox/projects/mongoengine/mongoengine/__init__.py", line 23, in
__version__ = get_version()
File "/Users/anemitz/Dropbox/projects/mongoengine/mongoengine/__init__.py", line 21, in get_version
return '.'.join(map(str, VERSIONs))
NameError: global name 'VERSIONs' is not defined
```