From: Michael Orlitzky Date: Mon, 10 May 2010 17:39:25 +0000 (-0400) Subject: Update the search path within the LinearProgramming module. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d22e45b4d10c354f84e1de5ef92b6725675817f2;p=dead%2Fcensus-tools.git Update the search path within the LinearProgramming module. --- diff --git a/src/LinearProgramming.py b/src/LinearProgramming.py index 88cdd8d..2e949d2 100644 --- a/src/LinearProgramming.py +++ b/src/LinearProgramming.py @@ -11,7 +11,7 @@ import sys # Add LP_SOLVE_PATH to our path. There is no point to this variable # other than to make the site.addsitedir() line fit within 80 # characters. -LP_SOLVE_PATH = '/../lib/lp_solve' +LP_SOLVE_PATH = '/../../lib/lp_solve' site.addsitedir(os.path.dirname(os.path.abspath(sys.argv[0])) + LP_SOLVE_PATH) from lpsolve55 import *