<s> from __future__ import absolute_import <EOL> from . filterset import FilterSet <EOL> from . filters import * <EOL> __version__ = '<STR_LIT>' <EOL> def parse_version ( version ) : <EOL> '''<STR_LIT>''' <EOL> v = version . split ( '<STR_LIT:.>' ) <EOL> v = v [ : - <NUM_LIT:1> ] + v [ - <NUM_LIT:1> ] . split ( '<STR_LIT:->' ) <EOL> ret = [ ] <EOL> for p in v : <EOL> if p . isdigit ( ) : <EOL> ret . append ( int ( p ) ) <EOL> else : <EOL> ret . append ( p ) <EOL> return tuple ( ret ) <EOL> VERSION = parse_version ( __version__ ) </s>
