1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module Spicey.PackageConfig where

--- Package version as a string.
packageVersion :: String
packageVersion = "4.0.0"

--- Returns the location (installation directory) of the package.
getPackagePath :: IO String
getPackagePath = return "/net/medoc/home/cpm/tmpcurrydoc399549/spicey"

--- Package location (deprecated, use 'getPackagePath').
packagePath :: String
packagePath = "/net/medoc/home/cpm/tmpcurrydoc399549/spicey"

--- Returns the load path for the package (if it is the main package).
getPackageLoadPath :: IO [String]
getPackageLoadPath = do
  pp <- getPackagePath
  return [pp ++ "/src", pp ++ "/.cpm/packages/searchtree-3.0.0/src", pp ++ "/.cpm/packages/allvalues-3.0.0/src", pp ++ "/.cpm/packages/setfunctions-3.0.0/src", pp ++ "/.cpm/packages/keydb-3.1.0/src", pp ++ "/.cpm/packages/graphviz-3.0.0/src", pp ++ "/.cpm/packages/xml-3.0.0/src", pp ++ "/.cpm/packages/transformers-3.0.0/src", pp ++ "/.cpm/packages/redblacktree-3.0.0/src", pp ++ "/.cpm/packages/flatcurry-3.0.0/src", pp ++ "/.cpm/packages/ertools-3.0.0/src", pp ++ "/.cpm/packages/io-extra-3.0.0/src", pp ++ "/.cpm/packages/global-3.2.0/src", pp ++ "/.cpm/packages/csv-3.0.0/src", pp ++ "/.cpm/packages/cdbi-3.2.0/src", pp ++ "/.cpm/packages/read-legacy-3.0.0/src", pp ++ "/.cpm/packages/random-3.0.0/src", pp ++ "/.cpm/packages/queue-3.0.0/src", pp ++ "/.cpm/packages/wl-pprint-3.0.0/src", pp ++ "/.cpm/packages/process-3.0.0/src", pp ++ "/.cpm/packages/frontend-exec-3.3.0/src", pp ++ "/.cpm/packages/propertyfile-3.0.0/src", pp ++ "/.cpm/packages/time-3.0.0/src", pp ++ "/.cpm/packages/filepath-3.0.0/src", pp ++ "/.cpm/packages/directory-3.0.0/src", pp ++ "/.cpm/packages/currypath-3.0.0/src", pp ++ "/.cpm/packages/abstract-curry-3.0.0/src"]

--- Load path for the package (deprecated, use 'getPackageLoadPath').
packageLoadPath :: String
packageLoadPath = "/net/medoc/home/cpm/tmpcurrydoc399549/spicey/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/searchtree-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/allvalues-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/setfunctions-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/keydb-3.1.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/graphviz-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/xml-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/transformers-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/redblacktree-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/flatcurry-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/ertools-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/io-extra-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/global-3.2.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/csv-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/cdbi-3.2.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/read-legacy-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/random-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/queue-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/wl-pprint-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/process-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/frontend-exec-3.3.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/propertyfile-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/time-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/filepath-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/directory-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/currypath-3.0.0/src:/net/medoc/home/cpm/tmpcurrydoc399549/spicey/.cpm/packages/abstract-curry-3.0.0/src"

--- Returns the location of the executable installed by this package.
getPackageExecutable :: IO String
getPackageExecutable = return "/net/medoc/home/cpm/.cpm/bin_pakcs/spiceup"

--- Location of the executable (deprecated, use 'getPackageExecutable').
packageExecutable :: String
packageExecutable = "/net/medoc/home/cpm/.cpm/bin_pakcs/spiceup"