This repository was archived by the owner on Feb 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathcpython.cabal
84 lines (73 loc) · 1.91 KB
/
cpython.cabal
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: cpython
version: 3.4.0
license: GPL-3
license-file: license.txt
author: John Millikin <jmillikin@gmail.com>
maintainer: John Millikin <jmillikin@gmail.com>
build-type: Simple
cabal-version: >= 1.6
category: Foreign
homepage: https://john-millikin.com/software/haskell-python/
synopsis: Bindings for libpython
description:
These bindings allow Haskell code to call CPython code. It is not
currently possible to call Haskell code from CPython, but this feature
is planned.
extra-source-files:
cbits/hscpython-shim.h
source-repository head
type: git
location: https://john-millikin.com/code/haskell-cpython/
source-repository this
type: git
location: https://john-millikin.com/code/haskell-cpython/
tag: haskell-cpython_3.4.0
library
ghc-options: -Wall -O2 -fno-warn-orphans
cc-options: -fPIC
hs-source-dirs: lib
build-depends:
base >= 4.0 && < 5.0
, bytestring >= 0.9
, text
build-tools:
c2hs >= 0.15
exposed-modules:
CPython
CPython.Types
CPython.Types.ByteArray
CPython.Types.Bytes
CPython.Types.Capsule
CPython.Types.Cell
CPython.Types.Code
CPython.Types.Complex
CPython.Types.Dictionary
CPython.Types.Exception
CPython.Types.Float
CPython.Types.Function
CPython.Types.InstanceMethod
CPython.Types.Integer
CPython.Types.Iterator
CPython.Types.List
CPython.Types.Method
CPython.Types.Module
CPython.Types.Set
CPython.Types.Slice
CPython.Types.Tuple
CPython.Types.Type
CPython.Types.Unicode
CPython.Types.WeakReference
CPython.Protocols.Iterator
CPython.Protocols.Mapping
CPython.Protocols.Number
CPython.Protocols.Object
CPython.Protocols.Object.Enums
CPython.Protocols.Sequence
CPython.Constants
CPython.Reflection
CPython.System
other-modules:
CPython.Internal
c-sources: cbits/hscpython-shim.c
include-dirs: cbits
pkgconfig-depends: python-3.4