This avoids a name collision with mypackage.__version__ (the string). In addition, the single underscore shows it's a 'private' module that has no special meaning to the Python interpreter.
6 lines
94 B
Python
6 lines
94 B
Python
|
|
from ._version import VERSION
|
|
__version__ = '.'.join(map(str, VERSION))
|
|
|
|
from .core import *
|