#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
**sIBL_GUI**

**Platform:**
	Windows, Linux, Mac Os X.

**Description:**
	This module starts the Application.

**Others:**

"""

#**********************************************************************************************************************
#***	External imports.
#**********************************************************************************************************************
import os
import sys

#**********************************************************************************************************************
#***	Path manipulations.
#**********************************************************************************************************************
def _setApplicationPackageDirectory():
	"""
	This definition sets the Application package directory in the path.
	"""

	applicationPackageDirectory = os.path.normpath(os.path.join(os.path.dirname(__file__), "../"))
	applicationPackageDirectory not in sys.path and sys.path.append(applicationPackageDirectory)

_setApplicationPackageDirectory()

##**********************************************************************************************************************
#***	Internal imports.
#**********************************************************************************************************************
from sibl_gui.launcher import main

#**********************************************************************************************************************
#***	Module attributes.
#**********************************************************************************************************************
__author__ = "Thomas Mansencal"
__copyright__ = "Copyright (C) 2008 - 2013 - Thomas Mansencal"
__license__ = "GPL V3.0 - http://www.gnu.org/licenses/"
__maintainer__ = "Thomas Mansencal"
__email__ = "thomas.mansencal@gmail.com"
__status__ = "Production"

__all__ = []

#**********************************************************************************************************************
#***	Launcher.
#**********************************************************************************************************************
if __name__ == "__main__":
	main()
