Skip to content

Commit

Permalink
- Fixes #13: Missing Proto dir?
Browse files Browse the repository at this point in the history
- Fixes #14: Don't throw away ImportError in __init__.py
  • Loading branch information
ampledata committed Jan 15, 2024
1 parent 531d53a commit 714068b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions takproto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
:source: <https://github.com/snstac/takproto>
"""

__version__ = "2.1.0"
__version__ = "2.1.1-beta1"

# Python 3.6 test/build work-around:
try:
Expand All @@ -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 <[email protected]>"
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com"
Expand Down

0 comments on commit 714068b

Please sign in to comment.