1#!/usr/bin/env python 2# -*- mode: python; coding: utf-8; -*- 3# ---------------------------------------------------------------------------## 4# 5# Copyright (C) 1998-2003 Markus Franz Xaver Johannes Oberhumer 6# Copyright (C) 2003 Mt. Hood Playing Card Co. 7# Copyright (C) 2005-2009 Skomoroh 8# 9# This program is free software: you can redistribute it and/or modify 10# it under the terms of the GNU General Public License as published by 11# the Free Software Foundation, either version 3 of the License, or 12# (at your option) any later version. 13# 14# This program is distributed in the hope that it will be useful, 15# but WITHOUT ANY WARRANTY; without even the implied warranty of 16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17# GNU General Public License for more details. 18# 19# You should have received a copy of the GNU General Public License 20# along with this program. If not, see <http://www.gnu.org/licenses/>. 21# 22# ---------------------------------------------------------------------------## 23 24import os 25 26 27def n_(x): # for gettext 28 return x 29 30 31PACKAGE = 'PySolFC' 32TITLE = 'PySol' 33PACKAGE_URL = 'http://pysolfc.sourceforge.net/' 34 35VERSION_TUPLE = (2, 14, 1) 36VERSION = '.'.join(map(str, VERSION_TUPLE)) 37 38# Tk windowing system (auto set up in init.py) 39WIN_SYSTEM = 'x11' # win32, x11, aqua, classic 40 41# toolkit 42TOOLKIT = 'tk' # or 'gtk' 43USE_TILE = 'auto' # or True or False 44 45# sound 46# available values: 47# 'pss' - PySol-Sound-Server (all) 48# 'pygame' - PyGame (all) 49# 'oss' (*nix) 50# 'win' (windows) 51# 'none' - disable 52SOUND_MOD = 'auto' 53 54# freecell-solver 55USE_FREECELL_SOLVER = True 56FCS_COMMAND = 'fc-solve' 57# FCS_HOME = None # path to fcs presets files 58 59# data dirs 60DATA_DIRS = [] 61# you can add your extra directories here 62if os.name == 'posix': 63 DATA_DIRS = [ 64 '/usr/share/PySolFC', 65 '/usr/local/share/PySolFC', 66 '/usr/share/games/PySolFC', 67 '/usr/local/share/games/PySolFC', 68 ] 69if os.name == 'nt': 70 pass 71 72TOP_SIZE = 10 73TOP_TITLE = n_('Top 10') 74 75# use menu for select game 76SELECT_GAME_MENU = True 77 78# i18n, see also options.py 79TRANSLATE_GAME_NAMES = True 80 81# debug 82DEBUG = 0 # must be integer 83CHECK_GAMES = False # check duplicated names and classes 84