start porting to 3.9
This commit is contained in:
+6
-17
@@ -1,18 +1,7 @@
|
||||
#
|
||||
# Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
|
||||
# Copyright 2008,2009 Free Software Foundation, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
|
||||
# The presence of this file turns this directory into a Python package
|
||||
@@ -21,13 +10,13 @@
|
||||
This is the GNU Radio IEEE802_11 module. Place your Python package
|
||||
description here (python/__init__.py).
|
||||
'''
|
||||
from __future__ import unicode_literals
|
||||
import os
|
||||
|
||||
# import swig generated symbols into the ieee802_11 namespace
|
||||
# import pybind11 generated symbols into the ieee802_11 namespace
|
||||
try:
|
||||
# this might fail if the module is python-only
|
||||
from .ieee802_11_swig import *
|
||||
except ImportError:
|
||||
from .ieee802_11_python import *
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
|
||||
# import any pure python here
|
||||
|
||||
Reference in New Issue
Block a user