mcsas.gui.utils.appversion.appversion module

class AppVersion(programName=None, versionNumber=None, organizationName=None, organizationDomain=None, defaultSettings=None)[source]

Bases: object

Stores version meta data.

defaultSettings()[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.defaultSettings’ undocumented

classmethod isValid(other)[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.isValid’ undocumented

name()[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.name’ undocumented

number()[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.number’ undocumented

organizationDomain()[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.organizationDomain’ undocumented

organizationName()[source]

Warning

method ‘gui.utils.appversion.appversion.AppVersion.organizationName’ undocumented

static updateFile(module, newversion)[source]

Updates the version string within a given module. Replaces the version string in the source code textually. Assumes there is an AppVersion constructor call in the module.