From 714068bd67d82792ab84b1287a6cd1a1bca27e65 Mon Sep 17 00:00:00 2001 From: Greg Albrecht Date: Mon, 15 Jan 2024 15:05:45 -0800 Subject: [PATCH] - Fixes #13: Missing Proto dir? - Fixes #14: Don't throw away ImportError in __init__.py --- setup.cfg | 4 ++-- takproto/__init__.py | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1eb89de..fa90f54 100644 --- a/setup.cfg +++ b/setup.cfg @@ -70,9 +70,9 @@ keywords = [options] python_requires = >=3.6, <4 -packages = takproto +packages = takproto, takproto.proto package_dir = - adsbcot = takproto + takproto = takproto install_requires = protobuf >= 4.21.0 delimited-protobuf >= 1.0.0 diff --git a/takproto/__init__.py b/takproto/__init__.py index 6a3c910..9977bb7 100644 --- a/takproto/__init__.py +++ b/takproto/__init__.py @@ -30,7 +30,7 @@ :source: """ -__version__ = "2.1.0" +__version__ = "2.1.1-beta1" # Python 3.6 test/build work-around: try: @@ -42,12 +42,13 @@ format_time, ) from .constants import TAKProtoVer # NOQA -except ImportError: +except ImportError as exc: import warnings warnings.warn( - "Unable to import required modules, ignoring (Python 3.6 build work-around)." + "Unable to import required modules, IGNORING for Python 3.6 compat. Original Exception: " ) + warnings.warn(exc) __author__ = "Greg Albrecht " __copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com"