remove python 2 imports
This commit is contained in:
parent
ed18352c0c
commit
57307109e6
@ -1,5 +1,3 @@
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
import os
|
||||
import warnings
|
||||
|
||||
|
@ -1,6 +1,3 @@
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
|
||||
def tell(msg):
|
||||
from pyModeS import common, adsb, commb, bds
|
||||
|
||||
|
@ -13,8 +13,6 @@ The ADS-B wrapper also imports functions from the following modules:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
import pyModeS as pms
|
||||
|
||||
from pyModeS import common
|
||||
|
@ -18,7 +18,6 @@
|
||||
Common functions for Mode-S decoding
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
import numpy as np
|
||||
|
||||
from pyModeS.extra import aero
|
||||
|
@ -4,9 +4,6 @@
|
||||
# Airborn position
|
||||
# ------------------------------------------
|
||||
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -4,8 +4,6 @@
|
||||
# Surface position
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -4,8 +4,6 @@
|
||||
# Aircraft identitification and category
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -4,9 +4,6 @@
|
||||
# Aircraft Airborn velocity
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
from pyModeS.decoder import common
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Data link capability report
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,9 +3,6 @@
|
||||
# Common usage GICB capability report
|
||||
# ------------------------------------------
|
||||
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Aircraft identification
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# ACAS active resolution advisory
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,9 +3,7 @@
|
||||
# Selected vertical intention
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
import warnings
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Meteorological routine air report
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Meteorological hazard report
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Track and turn report
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Air-referenced state vector
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
# Heading and speed report
|
||||
# ------------------------------------------
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS import common
|
||||
|
||||
|
||||
|
@ -19,8 +19,6 @@ The Comm-B wrapper imports all functions from the following modules:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
# ELS - elementary surveillance
|
||||
from pyModeS.decoder.bds.bds10 import *
|
||||
from pyModeS.decoder.bds.bds17 import *
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import absolute_import, print_function, division
|
||||
import numpy as np
|
||||
from textwrap import wrap
|
||||
|
||||
|
@ -9,7 +9,6 @@ The EHS wrapper imports all functions from the following modules:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
import warnings
|
||||
|
||||
from pyModeS.decoder.bds.bds40 import *
|
||||
|
@ -10,8 +10,6 @@ The ELS wrapper imports all functions from the following modules:
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
from pyModeS.decoder.bds.bds10 import *
|
||||
from pyModeS.decoder.bds.bds17 import *
|
||||
from pyModeS.decoder.bds.bds20 import *
|
||||
|
@ -1 +0,0 @@
|
||||
from __future__ import absolute_import, print_function, division
|
@ -1,6 +1,5 @@
|
||||
"""Stream beast raw data from a TCP server, convert to mode-s messages."""
|
||||
|
||||
from __future__ import print_function, division
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import absolute_import, print_function, division
|
||||
import os
|
||||
import time
|
||||
import datetime
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from __future__ import print_function, division
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import print_function, division
|
||||
import curses
|
||||
import numpy as np
|
||||
import time
|
||||
|
4
setup.py
4
setup.py
@ -61,7 +61,7 @@ setup(
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
# Specify the Python versions you support here. In particular, ensure
|
||||
# that you indicate whether you support Python 2, Python 3 or both.
|
||||
"Programming Language :: Python :: 2",
|
||||
# "Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 3",
|
||||
],
|
||||
ext_modules=cythonize(extensions),
|
||||
@ -77,7 +77,7 @@ setup(
|
||||
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||
# requirements files see:
|
||||
# https://packaging.python.org/en/latest/requirements.html
|
||||
install_requires=["numpy", "argparse", "pyzmq", "pyrtlsdr"],
|
||||
install_requires=["numpy", "pyzmq", "pyrtlsdr"],
|
||||
# List additional groups of dependencies here (e.g. development
|
||||
# dependencies). You can install these using the following syntax,
|
||||
# for example:
|
||||
|
@ -1,4 +1,3 @@
|
||||
from __future__ import print_function
|
||||
from pyModeS import commb, common, bds
|
||||
|
||||
# === Decode sample data file ===
|
||||
|
Loading…
Reference in New Issue
Block a user