#!/usr/bin/env python3
"""This is a wrapper for calling __main__.main()"""

### This is a wrapper for calling __main__.main() from
### jack - extract audio from a CD and encode it using 3rd party software
### Copyright (C) 1999-2020  Arne Zellentin <zarne@users.sf.net>

### This program is free software; you can redistribute it and/or modify
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.

### This program is distributed in the hope that it will be useful,
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.

### You should have received a copy of the GNU General Public License
### along with this program; if not, write to the Free Software
### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

### If you want to comment on this program, contact me: zarne@users.sf.net ###
### Visit the homepage: http://www.home.unix-ag.org/arne/jack/

### see CHANGELOG for recent changes in this program
### see TODO if you want to see what needs to be implemented

import sys
import os

import jack.__main__

bindir = os.path.dirname(os.path.abspath(sys.argv[0]))
maindir, bindir = os.path.split(bindir)
sys.path.append(maindir)


if __name__ == "__main__":
    sys.exit(jack.__main__.main())
