mathmaker  0.4(alpha)
mathmaker_dev/lib/common/software.py
00001 # -*- coding: utf-8 -*-
00002 
00003 # Mathmaker creates automatically maths exercises sheets
00004 # with their answers
00005 # Copyright 2006-2014 Nicolas Hainaux <nico_h@users.sourceforge.net>
00006 
00007 # This file is part of Mathmaker.
00008 
00009 # Mathmaker is free software; you can redistribute it and/or modify
00010 # it under the terms of the GNU General Public License as published by
00011 # the Free Software Foundation; either version 3 of the License, or
00012 # any later version.
00013 
00014 # Mathmaker is distributed in the hope that it will be useful,
00015 # but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 # GNU General Public License for more details.
00018 
00019 # You should have received a copy of the GNU General Public License
00020 # along with Mathmaker; if not, write to the Free Software
00021 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00022 
00023 import os
00024 import sys
00025 
00026 # DATA RELATING TO THE SOFTWARE
00027 NAME = "mathmaker"
00028 NAME_PRINTABLE = "Mathmaker"
00029 VERSION = "0.4.2 (alpha)"
00030 LICENSE = "GNU GPL 3"
00031 AUTHOR = "Nicolas Hainaux <nico_h@users.sourceforge.net>"
00032 COPYRIGHT = "Copyright 2006-2014"
00033 WEBSITE = "http://mathmaker.sourceforge.net"
00034 
00035 __cwd = os.path.abspath(sys.argv[0])
00036 ROOT_PATH = __cwd[:__cwd.find(NAME)+len(NAME)] + '/'
00037 
00038 CFG_FILE_SUFFIX = 'cfg'