Added to the docs, mostly the user guide
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user