this repo has no description
1opam-version: "2.0"
2synopsis: "Effortless Python bindings for OCaml modules"
3description: """
4Effortless Python bindings for OCaml modules
5"""
6maintainer: ["Thierry Martinez <thierry.martinez@inria.fr>"]
7authors: ["Thierry Martinez <thierry.martinez@inria.fr>"]
8license: "BSD-2-Clause"
9homepage: "https://github.com/thierry-martinez/ocaml-in-python"
10doc: "https://github.com/thierry-martinez/ocaml-in-python"
11bug-reports: "https://github.com/thierry-martinez/ocaml-in-python"
12depends: [
13 "dune" {>= "2.9"}
14 "ocaml" {>= "4.13.0" & < "5.0"}
15 "ppxlib" {>= "0.23.0" & < "0.26.0"}
16 "metapp" {>= "0.4.3"}
17 "metaquot" {>= "0.5.1"}
18 "pyml" {>= "20220325"}
19 "conf-python-3-7"
20 "parmap" {with-test}
21 "odoc" {with-doc}
22]
23build: [
24 ["dune" "subst"] {dev}
25 [
26 "dune"
27 "build"
28 "-p"
29 name
30 "-j"
31 jobs
32 "--promote-install-files=false"
33 "@install"
34 "@runtest" {with-test}
35 "@doc" {with-doc}
36 ]
37 ["dune" "install" "-p" name "--create-install-files" name]
38]
39dev-repo: "git+https://github.com/thierry-martinez/ocaml-in-python"
40substs: ["python3-command"]
41post-messages: "\
42You should register the \"ocaml\" package in your Python environment.
43There are two options:
44
45 (1) either you register the package with \"pip\" using the following
46 command:
47 pip install --editable \"%{lib}%/ocaml-in-python\"
48
49 (2) or you add the following definition to your environment:
50 export PYTHONPATH=\"%{share}%/python/:$PYTHONPATH\"
51" {success}
52url {
53 src: "https://github.com/thierry-martinez/ocaml-in-python/releases/download/v0.1.0/ocaml-in-python-0.1.0.tar.gz"
54 checksum: "sha512=9ba2ad109ce83a758dd949fc40be8e866adb5aebf3b2009a04c4d93ea40f48ca71b8d6f8cd4e80a2bf52ca36fab6561f28e273d412cf8c235837063924f26eff"
55}