Make the application name and version details configurable.

This commit is contained in:
Dave Page
2014-12-17 12:52:43 +00:00
parent 3e6436bc9b
commit 417ad2c6ee
2 changed files with 22 additions and 2 deletions

View File

@@ -11,6 +11,26 @@
from logging import *
##########################################################################
# Application settings
##########################################################################
# Name of the application to display in the UI
APP_NAME = 'pgAdmin 4'
# Application version number components
APP_MAJOR = 1
APP_MINOR = 0
APP_REVISION = 0
# Application version suffix, e.g. 'beta1', 'dev'. Usually an empty string
# for GA releases.
APP_SUFFIX = 'dev'
# DO NOT CHANGE!
# The application version string, constructed from the components
APP_VERSION = '%s.%s.%s-%s' % (APP_MAJOR, APP_MINOR, APP_REVISION, APP_SUFFIX)
##########################################################################
# Log settings
##########################################################################