Skip to content

Commit ccb26b6

Browse files
committed
idk
1 parent d55a147 commit ccb26b6

File tree

26 files changed

+279
-1
lines changed

26 files changed

+279
-1
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{-# LANGUAGE CPP #-}
2+
{-# LANGUAGE NoRebindableSyntax #-}
3+
{-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
4+
{-# OPTIONS_GHC -w #-}
5+
module Paths_matplotlib (
6+
version,
7+
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir,
8+
getDataFileName, getSysconfDir
9+
) where
10+
11+
12+
import qualified Control.Exception as Exception
13+
import qualified Data.List as List
14+
import Data.Version (Version(..))
15+
import System.Environment (getEnv)
16+
import Prelude
17+
18+
19+
#if defined(VERSION_base)
20+
21+
#if MIN_VERSION_base(4,0,0)
22+
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
23+
#else
24+
catchIO :: IO a -> (Exception.Exception -> IO a) -> IO a
25+
#endif
26+
27+
#else
28+
catchIO :: IO a -> (Exception.IOException -> IO a) -> IO a
29+
#endif
30+
catchIO = Exception.catch
31+
32+
version :: Version
33+
version = Version [0,7,7] []
34+
35+
getDataFileName :: FilePath -> IO FilePath
36+
getDataFileName name = do
37+
dir <- getDataDir
38+
return (dir `joinFileName` name)
39+
40+
getBinDir, getLibDir, getDynLibDir, getDataDir, getLibexecDir, getSysconfDir :: IO FilePath
41+
42+
43+
44+
bindir, libdir, dynlibdir, datadir, libexecdir, sysconfdir :: FilePath
45+
bindir = "/home/lazylambda/.cabal/bin"
46+
libdir = "/home/lazylambda/.cabal/lib/x86_64-linux-ghc-8.10.7/matplotlib-0.7.7-inplace"
47+
dynlibdir = "/home/lazylambda/.cabal/lib/x86_64-linux-ghc-8.10.7"
48+
datadir = "/home/lazylambda/.cabal/share/x86_64-linux-ghc-8.10.7/matplotlib-0.7.7"
49+
libexecdir = "/home/lazylambda/.cabal/libexec/x86_64-linux-ghc-8.10.7/matplotlib-0.7.7"
50+
sysconfdir = "/home/lazylambda/.cabal/etc"
51+
52+
getBinDir = catchIO (getEnv "matplotlib_bindir") (\_ -> return bindir)
53+
getLibDir = catchIO (getEnv "matplotlib_libdir") (\_ -> return libdir)
54+
getDynLibDir = catchIO (getEnv "matplotlib_dynlibdir") (\_ -> return dynlibdir)
55+
getDataDir = catchIO (getEnv "matplotlib_datadir") (\_ -> return datadir)
56+
getLibexecDir = catchIO (getEnv "matplotlib_libexecdir") (\_ -> return libexecdir)
57+
getSysconfDir = catchIO (getEnv "matplotlib_sysconfdir") (\_ -> return sysconfdir)
58+
59+
60+
61+
62+
joinFileName :: String -> String -> FilePath
63+
joinFileName "" fname = fname
64+
joinFileName "." fname = fname
65+
joinFileName dir "" = dir
66+
joinFileName dir fname
67+
| isPathSeparator (List.last dir) = dir ++ fname
68+
| otherwise = dir ++ pathSeparator : fname
69+
70+
pathSeparator :: Char
71+
pathSeparator = '/'
72+
73+
isPathSeparator :: Char -> Bool
74+
isPathSeparator c = c == '/'
Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
/* DO NOT EDIT: This file is automatically generated by Cabal */
2+
3+
/* package matplotlib-0.7.7 */
4+
#ifndef VERSION_matplotlib
5+
#define VERSION_matplotlib "0.7.7"
6+
#endif /* VERSION_matplotlib */
7+
#ifndef MIN_VERSION_matplotlib
8+
#define MIN_VERSION_matplotlib(major1,major2,minor) (\
9+
(major1) < 0 || \
10+
(major1) == 0 && (major2) < 7 || \
11+
(major1) == 0 && (major2) == 7 && (minor) <= 7)
12+
#endif /* MIN_VERSION_matplotlib */
13+
/* package aeson-1.5.6.0 */
14+
#ifndef VERSION_aeson
15+
#define VERSION_aeson "1.5.6.0"
16+
#endif /* VERSION_aeson */
17+
#ifndef MIN_VERSION_aeson
18+
#define MIN_VERSION_aeson(major1,major2,minor) (\
19+
(major1) < 1 || \
20+
(major1) == 1 && (major2) < 5 || \
21+
(major1) == 1 && (major2) == 5 && (minor) <= 6)
22+
#endif /* MIN_VERSION_aeson */
23+
/* package base-4.14.3.0 */
24+
#ifndef VERSION_base
25+
#define VERSION_base "4.14.3.0"
26+
#endif /* VERSION_base */
27+
#ifndef MIN_VERSION_base
28+
#define MIN_VERSION_base(major1,major2,minor) (\
29+
(major1) < 4 || \
30+
(major1) == 4 && (major2) < 14 || \
31+
(major1) == 4 && (major2) == 14 && (minor) <= 3)
32+
#endif /* MIN_VERSION_base */
33+
/* package bytestring-0.10.12.0 */
34+
#ifndef VERSION_bytestring
35+
#define VERSION_bytestring "0.10.12.0"
36+
#endif /* VERSION_bytestring */
37+
#ifndef MIN_VERSION_bytestring
38+
#define MIN_VERSION_bytestring(major1,major2,minor) (\
39+
(major1) < 0 || \
40+
(major1) == 0 && (major2) < 10 || \
41+
(major1) == 0 && (major2) == 10 && (minor) <= 12)
42+
#endif /* MIN_VERSION_bytestring */
43+
/* package containers-0.6.5.1 */
44+
#ifndef VERSION_containers
45+
#define VERSION_containers "0.6.5.1"
46+
#endif /* VERSION_containers */
47+
#ifndef MIN_VERSION_containers
48+
#define MIN_VERSION_containers(major1,major2,minor) (\
49+
(major1) < 0 || \
50+
(major1) == 0 && (major2) < 6 || \
51+
(major1) == 0 && (major2) == 6 && (minor) <= 5)
52+
#endif /* MIN_VERSION_containers */
53+
/* package deepseq-1.4.4.0 */
54+
#ifndef VERSION_deepseq
55+
#define VERSION_deepseq "1.4.4.0"
56+
#endif /* VERSION_deepseq */
57+
#ifndef MIN_VERSION_deepseq
58+
#define MIN_VERSION_deepseq(major1,major2,minor) (\
59+
(major1) < 1 || \
60+
(major1) == 1 && (major2) < 4 || \
61+
(major1) == 1 && (major2) == 4 && (minor) <= 4)
62+
#endif /* MIN_VERSION_deepseq */
63+
/* package filepath-1.4.2.1 */
64+
#ifndef VERSION_filepath
65+
#define VERSION_filepath "1.4.2.1"
66+
#endif /* VERSION_filepath */
67+
#ifndef MIN_VERSION_filepath
68+
#define MIN_VERSION_filepath(major1,major2,minor) (\
69+
(major1) < 1 || \
70+
(major1) == 1 && (major2) < 4 || \
71+
(major1) == 1 && (major2) == 4 && (minor) <= 2)
72+
#endif /* MIN_VERSION_filepath */
73+
/* package process-1.6.13.2 */
74+
#ifndef VERSION_process
75+
#define VERSION_process "1.6.13.2"
76+
#endif /* VERSION_process */
77+
#ifndef MIN_VERSION_process
78+
#define MIN_VERSION_process(major1,major2,minor) (\
79+
(major1) < 1 || \
80+
(major1) == 1 && (major2) < 6 || \
81+
(major1) == 1 && (major2) == 6 && (minor) <= 13)
82+
#endif /* MIN_VERSION_process */
83+
/* package split-0.2.3.4 */
84+
#ifndef VERSION_split
85+
#define VERSION_split "0.2.3.4"
86+
#endif /* VERSION_split */
87+
#ifndef MIN_VERSION_split
88+
#define MIN_VERSION_split(major1,major2,minor) (\
89+
(major1) < 0 || \
90+
(major1) == 0 && (major2) < 2 || \
91+
(major1) == 0 && (major2) == 2 && (minor) <= 3)
92+
#endif /* MIN_VERSION_split */
93+
/* package temporary-1.3 */
94+
#ifndef VERSION_temporary
95+
#define VERSION_temporary "1.3"
96+
#endif /* VERSION_temporary */
97+
#ifndef MIN_VERSION_temporary
98+
#define MIN_VERSION_temporary(major1,major2,minor) (\
99+
(major1) < 1 || \
100+
(major1) == 1 && (major2) < 3 || \
101+
(major1) == 1 && (major2) == 3 && (minor) <= 0)
102+
#endif /* MIN_VERSION_temporary */
103+
/* package which-0.2.0.1 */
104+
#ifndef VERSION_which
105+
#define VERSION_which "0.2.0.1"
106+
#endif /* VERSION_which */
107+
#ifndef MIN_VERSION_which
108+
#define MIN_VERSION_which(major1,major2,minor) (\
109+
(major1) < 0 || \
110+
(major1) == 0 && (major2) < 2 || \
111+
(major1) == 0 && (major2) == 2 && (minor) <= 0)
112+
#endif /* MIN_VERSION_which */
113+
114+
/* tool gcc-10.3.0 */
115+
#ifndef TOOL_VERSION_gcc
116+
#define TOOL_VERSION_gcc "10.3.0"
117+
#endif /* TOOL_VERSION_gcc */
118+
#ifndef MIN_TOOL_VERSION_gcc
119+
#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\
120+
(major1) < 10 || \
121+
(major1) == 10 && (major2) < 3 || \
122+
(major1) == 10 && (major2) == 3 && (minor) <= 0)
123+
#endif /* MIN_TOOL_VERSION_gcc */
124+
/* tool ghc-8.10.7 */
125+
#ifndef TOOL_VERSION_ghc
126+
#define TOOL_VERSION_ghc "8.10.7"
127+
#endif /* TOOL_VERSION_ghc */
128+
#ifndef MIN_TOOL_VERSION_ghc
129+
#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\
130+
(major1) < 8 || \
131+
(major1) == 8 && (major2) < 10 || \
132+
(major1) == 8 && (major2) == 10 && (minor) <= 7)
133+
#endif /* MIN_TOOL_VERSION_ghc */
134+
/* tool ghc-pkg-8.10.7 */
135+
#ifndef TOOL_VERSION_ghc_pkg
136+
#define TOOL_VERSION_ghc_pkg "8.10.7"
137+
#endif /* TOOL_VERSION_ghc_pkg */
138+
#ifndef MIN_TOOL_VERSION_ghc_pkg
139+
#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\
140+
(major1) < 8 || \
141+
(major1) == 8 && (major2) < 10 || \
142+
(major1) == 8 && (major2) == 10 && (minor) <= 7)
143+
#endif /* MIN_TOOL_VERSION_ghc_pkg */
144+
/* tool haddock-2.24.2 */
145+
#ifndef TOOL_VERSION_haddock
146+
#define TOOL_VERSION_haddock "2.24.2"
147+
#endif /* TOOL_VERSION_haddock */
148+
#ifndef MIN_TOOL_VERSION_haddock
149+
#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\
150+
(major1) < 2 || \
151+
(major1) == 2 && (major2) < 24 || \
152+
(major1) == 2 && (major2) == 24 && (minor) <= 2)
153+
#endif /* MIN_TOOL_VERSION_haddock */
154+
/* tool hpc-0.68 */
155+
#ifndef TOOL_VERSION_hpc
156+
#define TOOL_VERSION_hpc "0.68"
157+
#endif /* TOOL_VERSION_hpc */
158+
#ifndef MIN_TOOL_VERSION_hpc
159+
#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\
160+
(major1) < 0 || \
161+
(major1) == 0 && (major2) < 68 || \
162+
(major1) == 0 && (major2) == 68 && (minor) <= 0)
163+
#endif /* MIN_TOOL_VERSION_hpc */
164+
/* tool hsc2hs-0.68.7 */
165+
#ifndef TOOL_VERSION_hsc2hs
166+
#define TOOL_VERSION_hsc2hs "0.68.7"
167+
#endif /* TOOL_VERSION_hsc2hs */
168+
#ifndef MIN_TOOL_VERSION_hsc2hs
169+
#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\
170+
(major1) < 0 || \
171+
(major1) == 0 && (major2) < 68 || \
172+
(major1) == 0 && (major2) == 68 && (minor) <= 7)
173+
#endif /* MIN_TOOL_VERSION_hsc2hs */
174+
/* tool runghc-8.10.7 */
175+
#ifndef TOOL_VERSION_runghc
176+
#define TOOL_VERSION_runghc "8.10.7"
177+
#endif /* TOOL_VERSION_runghc */
178+
#ifndef MIN_TOOL_VERSION_runghc
179+
#define MIN_TOOL_VERSION_runghc(major1,major2,minor) (\
180+
(major1) < 8 || \
181+
(major1) == 8 && (major2) < 10 || \
182+
(major1) == 8 && (major2) == 10 && (minor) <= 7)
183+
#endif /* MIN_TOOL_VERSION_runghc */
184+
/* tool strip-2.35 */
185+
#ifndef TOOL_VERSION_strip
186+
#define TOOL_VERSION_strip "2.35"
187+
#endif /* TOOL_VERSION_strip */
188+
#ifndef MIN_TOOL_VERSION_strip
189+
#define MIN_TOOL_VERSION_strip(major1,major2,minor) (\
190+
(major1) < 2 || \
191+
(major1) == 2 && (major2) < 35 || \
192+
(major1) == 2 && (major2) == 35 && (minor) <= 0)
193+
#endif /* MIN_TOOL_VERSION_strip */
194+
195+
#ifndef CURRENT_PACKAGE_KEY
196+
#define CURRENT_PACKAGE_KEY "matplotlib-0.7.7-inplace"
197+
#endif /* CURRENT_packageKey */
198+
#ifndef CURRENT_COMPONENT_ID
199+
#define CURRENT_COMPONENT_ID "matplotlib-0.7.7-inplace"
200+
#endif /* CURRENT_COMPONENT_ID */
201+
#ifndef CURRENT_PACKAGE_VERSION
202+
#define CURRENT_PACKAGE_VERSION "0.7.7"
203+
#endif /* CURRENT_PACKAGE_VERSION */

0 commit comments

Comments
 (0)