diff options
author | Robert Smallshire <robert@smallshire.org.uk> | 2016-06-16 12:35:51 +0200 |
---|---|---|
committer | Robert Smallshire <robert@smallshire.org.uk> | 2016-06-16 12:35:51 +0200 |
commit | 8ad18c9d91c7eebbdd79fd77908507eda68d776b (patch) | |
tree | 89689a588a5c095f95b2e69269b63893e5b9cb5b | |
parent | 6ea336f4714299506b7582edea0e335e56f5dc3b (diff) | |
download | pyserial-git-8ad18c9d91c7eebbdd79fd77908507eda68d776b.tar.gz |
serial cannot be a namespace package as it exports names such as serial_for_url.
-rw-r--r-- | serial/__init__.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/serial/__init__.py b/serial/__init__.py index 3874193..6eb5f14 100644 --- a/serial/__init__.py +++ b/serial/__init__.py @@ -8,9 +8,6 @@ # SPDX-License-Identifier: BSD-3-Clause import importlib -import sys -from pkgutil import extend_path - from serial.serialutil import * #~ SerialBase, SerialException, to_bytes, iterbytes @@ -19,9 +16,6 @@ __version__ = '3.1.1' VERSION = __version__ -# serial is a namespace package -__path__ = extend_path(__path__, __name__) - # pylint: disable=wrong-import-position if sys.platform == 'cli': from serial.serialcli import Serial |