Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ev3dev2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ def chain_exception(exception, cause):
else:
raise exception from cause

try:
# if we are in a released build, there will be an auto-generated "version"
# module
from .version import __version__
except ImportError:
__version__ = "<unknown>"

import os
import io
import fnmatch
Expand Down