packages feed

cpython-3.3.0: cpython.cabal

name: cpython
version: 3.3.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: bazaar
  location: https://john-millikin.com/branches/haskell-cpython/3.3/

source-repository this
  type: bazaar
  location: https://john-millikin.com/branches/haskell-cpython/3.3/
  tag: haskell-cpython_3.3.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 >= 0.1 && < 0.12

  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.Sequence
    CPython.Constants
    CPython.Reflection
    CPython.System

  other-modules:
    CPython.Internal

  c-sources: cbits/hscpython-shim.c
  include-dirs: cbits

  pkgconfig-depends: python-3.3