__author__ = 'Peter Brittain'

from .version import version
__version__ = version

__author__ = 'Peter Brittain'

try:
    from .version import version
except ImportError:
    # Someone is running straight from the GIT repo - dummy out the version
    version = "0.0.0"

__version__ = version

Patch up version for direct running of code in repo.
Patch up version for direct running of code in repo.

  __author__ = 'Peter Brittain'
  
+ try:
- from .version import version
+     from .version import version
+ except ImportError:
+     # Someone is running straight from the GIT repo - dummy out the version
+     version = "0.0.0"
+ 
  __version__ = version
  
Patch up version for direct running of code in repo.
## Code Before:
__author__ = 'Peter Brittain'

from .version import version
__version__ = version

## Instruction:
Patch up version for direct running of code in repo.
## Code After:
__author__ = 'Peter Brittain'

try:
    from .version import version
except ImportError:
    # Someone is running straight from the GIT repo - dummy out the version
    version = "0.0.0"

__version__ = version
