compatibility with Python 3.7
This commit is contained in:
parent
51222372b1
commit
9d82f9b9c9
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
|
if sys.version_info < (3, 8):
|
||||||
|
from typing_extensions import TypedDict
|
||||||
|
else:
|
||||||
from typing import TypedDict
|
from typing import TypedDict
|
||||||
|
|
||||||
NA = None
|
NA = None
|
||||||
|
3
setup.py
3
setup.py
@ -43,7 +43,8 @@ details = dict(
|
|||||||
],
|
],
|
||||||
keywords="Mode-S ADS-B EHS ELS Comm-B",
|
keywords="Mode-S ADS-B EHS ELS Comm-B",
|
||||||
packages=find_packages(exclude=["contrib", "docs", "tests"]),
|
packages=find_packages(exclude=["contrib", "docs", "tests"]),
|
||||||
install_requires=["numpy", "pyzmq"],
|
# typing_extensions are no longer necessary after Python 3.8 (TypedDict)
|
||||||
|
install_requires=["numpy", "pyzmq", "typing_extensions"],
|
||||||
extras_require={"fast": ["Cython"]},
|
extras_require={"fast": ["Cython"]},
|
||||||
package_data={"pyModeS": ["*.pyx", "*.pxd", "py.typed"]},
|
package_data={"pyModeS": ["*.pyx", "*.pxd", "py.typed"]},
|
||||||
scripts=["pyModeS/streamer/modeslive"],
|
scripts=["pyModeS/streamer/modeslive"],
|
||||||
|
Loading…
Reference in New Issue
Block a user