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

#	Copyright 2012-2013, Marten de Vries
#
#	This file is part of Code of Conduct Signing Assistant.
#
#	Code of Conduct Signing Assistant 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 3 of the License, or (at your option) any later version.
#
#	Code of Conduct Signing Assistant 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 Code of Conduct Signing Assistant. If not, see
#	<http://www.gnu.org/licenses/>.

import sys
import os

if __name__ == "__main__":
	import codeOfConductSigningAssistant as cocsa
	directory = os.path.dirname(cocsa.__file__)
	sys.path.insert(0, directory)
	os.chdir(directory)

	del sys.modules["codeOfConductSigningAssistant"]
	import codeOfConductSigningAssistant as app
	app.main()
