view libervia/__init__.py @ 1125:56ace2d45783

server (twisted): install reactor before doing anything else
author Goffi <goffi@goffi.org>
date Fri, 31 Aug 2018 18:05:15 +0200
parents 28e3eb3bb217
children b290f21e8466
line wrap: on
line source

import os.path

version_file = os.path.join(os.path.dirname(__file__), "VERSION")
try:
    with open(version_file) as f:
        __version__ = f.read().strip()
except NotImplementedError:
    # pyjamas workaround
    __version__ = "0.7.0D"