import os

# read version number out of version.properties
ver_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'version.properties')
with open(ver_file) as f:
    config = dict(line.strip().split('=') for line in f if line and not line.strip().startswith('#'))

# set __version__ variable
__version__ = config['version']
fccbb8e00e58d6fd8136994038034693b66bf33b
<mask token>

<mask token>
with open(ver_file) as f:
    config = dict(line.strip().split('=') for line in f if line and not
        line.strip().startswith('#'))
<mask token>

<mask token>
ver_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
    'version.properties')
with open(ver_file) as f:
    config = dict(line.strip().split('=') for line in f if line and not
        line.strip().startswith('#'))
__version__ = config['version']

import os
ver_file = os.path.join(os.path.dirname(os.path.realpath(__file__)),
    'version.properties')
with open(ver_file) as f:
    config = dict(line.strip().split('=') for line in f if line and not
        line.strip().startswith('#'))
__version__ = config['version']

import os

# read version number out of version.properties
ver_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'version.properties')
with open(ver_file) as f:
    config = dict(line.strip().split('=') for line in f if line and not line.strip().startswith('#'))

# set __version__ variable
__version__ = config['version']