#!python
# =============================================================================
# @file    zowie
# @brief   Simple interface to run Zowie
# @author  Michael Hucka <mhucka@caltech.edu>
# @license Please see the file named LICENSE in the project directory
# @website https://github.com/mhucka/zowie
# =============================================================================

# Allow this program to be executed directly from the 'bin' directory.
import os
import sys
import plac

# Allow this program to be executed directly from the 'bin' directory.
try:
    thisdir = os.path.dirname(os.path.abspath(__file__))
    sys.path.append(os.path.join(thisdir, '..'))
except:
    sys.path.append('..')

# Hand over to the command line interface.
import zowie
from zowie.__main__ import main as main

if __name__ == "__main__":
    plac.call(main)
