django-embed-video/embed_video/__init__.py

21 lines
345 B
Python
Raw Normal View History

2013-08-23 10:25:32 +00:00
"""
Django app for easy embeding YouTube and Vimeo videos and music from
SoundCloud.
"""
2014-07-26 11:01:54 +00:00
VERSION = (1, 0, 0, 'dev')
2013-08-23 10:25:32 +00:00
2013-08-23 11:37:44 +00:00
def get_release():
2014-07-26 10:46:26 +00:00
return '-'.join([get_version(), VERSION[-1]])
2013-08-23 10:25:32 +00:00
def get_version():
"""
Returns only digit parts of version.
"""
2014-07-26 10:46:26 +00:00
return '.'.join(str(i) for i in VERSION[:3])
2013-08-23 11:37:44 +00:00
__version__ = get_release()