1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

- fixed a problem when freecell solver is not present

git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@142 efabe8c0-fbe8-4139-b769-b5e6d273206e
This commit is contained in:
brianl 2007-02-26 08:50:40 +00:00
parent 03037a4e80
commit 2f7ff20219

View file

@ -40,9 +40,10 @@ finally:
# Use Freecell Solver, if it is installed.
# http://fc-solve.berlios.de/
SOLVER_LIB_PATH = "/usr/local/lib/libfreecell-solver.0.dylib"
SOLVER = "/usr/local/bin/fc-solve"
SOLVER = ["/usr/local/bin/fc-solve"]
if not os.path.exists(SOLVER_LIB_PATH):
SOLVER_LIB_PATH = SOLVER = ""
SOLVER_LIB_PATH = None
SOLVER = []
GETINFO_STRING = "PySol Fan Club Edition \
%s %s, (C) 1998-2003 Markus F.X.J Oberhumer \
@ -60,9 +61,9 @@ PLIST = dict(
)
APP = ['pysol.py']
ICON_FILE = 'data/PySol.icns'
DATA_FILES = ['docs', 'data', 'scripts','COPYING', 'README', SOLVER]
DATA_FILES = ['docs', 'data', 'scripts','COPYING', 'README'] + SOLVER
RESOURCES = [os.path.join(TCL_EXTENSION_PATH, TILE)] if TILE else []
FRAMEWORKS = [SOLVER_LIB_PATH]
FRAMEWORKS = [SOLVER_LIB_PATH] if SOLVER_LIB_PATH else []
OPTIONS = dict(argv_emulation=True,
plist=PLIST,
iconfile=ICON_FILE,