Added to the docs, mostly the user guide

This commit is contained in:
Harry Marr
2009-12-22 03:42:35 +00:00
parent 78d8cc7df8
commit 69eaf4b3f6
7 changed files with 303 additions and 44 deletions

View File

@@ -8,5 +8,20 @@ from connection import *
__all__ = document.__all__ + fields.__all__ + connection.__all__
__author__ = 'Harry Marr'
__version__ = '0.1'
VERSION = (0, 1, 0, 'alpha')
def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
return version
def get_release():
version = get_version()
if VERSION[3] != 'final':
version = '%s-%s' % (version, VERSION[3])
return version
__version__ = get_release()