diff options
Diffstat (limited to 'ttun_server/__init__.py')
| -rw-r--r-- | ttun_server/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ttun_server/__init__.py b/ttun_server/__init__.py index 17a8e7a..81f8cd4 100644 --- a/ttun_server/__init__.py +++ b/ttun_server/__init__.py | |||
| @@ -20,3 +20,9 @@ server = Starlette( | |||
| 20 | Route('/{path:path}', Proxy), | 20 | Route('/{path:path}', Proxy), |
| 21 | ] | 21 | ] |
| 22 | ) | 22 | ) |
| 23 | |||
| 24 | try: | ||
| 25 | from ._version import version | ||
| 26 | __version__ = version | ||
| 27 | except ImportError: | ||
| 28 | __version__ = 'development' | ||
