You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 368B

1234567891011
  1. VERSION = (0, 1, 0, 'alpha', 0)
  2. def get_version():
  3. version = '%s.%s' % (VERSION[0], VERSION[1])
  4. if VERSION[2]:
  5. version = '%s.%s' % (version, VERSION[2])
  6. if VERSION[3:] == ('alpha', 0):
  7. version = '%s pre-alpha' % version
  8. elif VERSION[3] != 'final':
  9. version = '%s %s %s' % (version, VERSION[3], VERSION[4])
  10. return version