zulip/zulip/__init__.py: Remove shebang and add version assertion.
This commit is contained in:
parent
2ec5bb7b70
commit
d7c52c9a74
|
@ -1,4 +1,3 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import json
|
||||
|
@ -22,6 +21,9 @@ from typing import Any, Callable, Dict, Iterable, IO, List, Mapping, Optional, T
|
|||
|
||||
__version__ = "0.6.4"
|
||||
|
||||
# Ensure the Python version is supported
|
||||
assert sys.version_info >= (3, 5)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Check that we have a recent enough version
|
||||
|
|
Loading…
Reference in a new issue