diff --git a/edl/__init__.py b/edl/__init__.py index 33563f5..4ec3b4d 100644 --- a/edl/__init__.py +++ b/edl/__init__.py @@ -8,7 +8,7 @@ import pprint import timecode -__version__ = '0.1.11' +from .version import __version__ class List(object): diff --git a/edl/version.py b/edl/version.py new file mode 100644 index 0000000..13b7089 --- /dev/null +++ b/edl/version.py @@ -0,0 +1 @@ +__version__ = '0.1.11' diff --git a/setup.py b/setup.py index 7b0f615..2a0aa35 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python from distutils.core import setup -import edl +exec(open('edl/version.py').read()) requires = [ 'timecode' @@ -9,7 +9,7 @@ setup( name='edl', - version=edl.__version__, + version=__version__, description='Simple EDL reading library', author='Simon Hargreaves', author_email='simon@simon-hargreaves.com',