Go to the source code of this file.
Namespaces | |
| webiopi.utils.version | |
Variables | |
| string | webiopi.utils.version.VERSION = '0.7.1' |
| string | webiopi.utils.version.VERSION_STRING = "WebIOPi/%s/Python%d.%d" |
| webiopi.utils.version.PYTHON_MAJOR = sys.version_info.major | |
| int | webiopi.utils.version.BOARD_REVISION = 0 |
| list | webiopi.utils.version._MAPPING = [[], [], [], []] |
| tuple | webiopi.utils.version.rc = re.compile("Revision\s*:\s(.*)\n") |
| tuple | webiopi.utils.version.info = f.read() |
| tuple | webiopi.utils.version.result = rc.search(info) |
| tuple | webiopi.utils.version.hex_cpurev = result.group(1) |
| tuple | webiopi.utils.version.cpurev = int(hex_cpurev, 16) |
| list | webiopi.utils.version.MAPPING = _MAPPING[BOARD_REVISION] |
1.8.8