catala/runtimes/dune
Louis Gesbert 538e97dfd3 Install Python and R runtimes
Runtimes for the various backends are expected to be made available from their
own ecosystem. However, for convenience and to help with development
settings (where the runtime might change), as part of installing catala they are
put, in source form, into `<prefix>/lib/catala/runtime_LANG`.

When using a dev version of Catala, and using Python, one would then just have
to do `pip install <prefix>/lib/catala/runtime_python` within their venv to be
able to run their python programs.
2024-01-16 11:54:28 +01:00

15 lines
367 B
Plaintext

(documentation
(package catala))
(dirs jsoo ocaml python r)
; Installation is done as source under catala lib directory
; For dev version this makes it easy to install the proper runtime with just
; `pip install dir` and be sure to get the right version
; Python runtime
(install
(files
(glob_files_rec (python/** with_prefix runtime_python)))
(section lib))