1. Sébastien Martinez
  2. pymoult

Overview

HTTPS SSH

Pymoult

Pymoult is a Pypy library providing a prototyping platform for dynamic software updates (DSU). It provides as many DSU mechanisms from the literature as possible through a generic API.

To read the manual of Pymoult, please follow this link

A simple tutorial to Pymoult is available here

Acknowledgement

The work on Pymoult, Cmoult and other derivatives is funded by the Brittany Regional Council in the context of project IMAJD.

LICENSE

Pymoult is published under the GPLv2 license (see LICENSE.txt)

Pypy-Dsu (required by Pymoult) is a fork of Pypy, published under specific licenses.

Installing

Pymoult requires CPython-dsu, a Python interpreter enhanced with DSU features.

Installing CPython-dsu

Pymoult requires CPython-dsu, our custom python interpreter providing DSU utilities. You can download and compile the source code from the download page

Installing on Linux

  1. Install python-dsu by compiling the sources

  2. Install pymoult

    $> python setup.py install --prefix=<your_prefix>

  3. Export your new PYTHONPATH

    $> export PYTHONPATH=$PYTHONPATH:<your_prefix>/site-packages

Pydoc

The pydoc can be generated with the doc.sh script

$> bash doc.sh

The pydoc will be generated in the doc folder, open doc/pymoult.html to start browsing.

Virtual Machine

A Virtual Machine preconfigured with Python-dsu and Pymoult is available on the VM page.

Older version : using Pypy-dsu

The older version of pymoult uses Pypy-dsu. Although it is no longer maintained, it is possible to download and use it.

Installing Pypy-dsu

Pymoult requires Pypy-Dsu, our custom pypy interpreter providing DSU utilities. You can download and compile the source code or install the binaries from the download page

ArchLinux or Debian users may use the pre-compiled packages from the the download page.

To use the latest version of Pymoult, you need to install pypy-dsu-2.4-2.

Installing on Linux

  1. Install pypy-dsu your favorite way

  2. Clone the pymoult repository

  3. Update your local copy to the pypy-dsu version

    $> hg update pypy-dsu

  4. Install pymoult

    $> pypy-dsu setup.py install --prefix=<your_prefix>

  5. Export your new PYTHONPATH

    $> export PYTHONPATH=$PYTHONPATH:<your_prefix>/site-packages