Skip to content

Commit

Permalink
:add: __version_info__ in the packahe
Browse files Browse the repository at this point in the history
  • Loading branch information
b3j0f committed Jul 15, 2015
1 parent 423cb1c commit 0f80a71
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions b3j0f/aop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,10 @@
"""

__all__ = [
'__version__',
'weave', 'unweave', 'weave_on', 'get_advices',
'Advice',
'get_intercepted', 'is_intercepted',
'Joinpoint', 'JoinpointError'
'__version_info__', '__version__'
]

#: project version info
__version_info__ = 0, 7, 8, "beta", 0
#: project version
__version__ = '0.7.8'

from .joinpoint import (
Joinpoint, get_intercepted, is_intercepted, JoinpointError
)
from .advice import (
weave, unweave, weave_on, Advice, get_advices
)
__version__ = ".".join(str(v) for v in __version_info__[:3])

0 comments on commit 0f80a71

Please sign in to comment.