Skip to content

sosterwalder/chirp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chirp

Message-passing and actor-based programming for everyone

It is part of Concreteclouds and the C99 implementation of pychirp.

travis [1] rtd coverage [2]

Read the Docs

[1]Python/hypothesis based test-suite in external project seecc.
[2]Coverage enforced by tests (on travis, after 1.0 release)

WORK IN PROGRESS

Install

Unix

Build dependencies:

  • python3 [3]
  • make
  • gcc or clang

Documentation build dependencies:

  • sphinx
  • graphviz

Dependencies:

  • libuv
  • openssl

Install to prefix /usr/local. (with docs)

cd build
../configure --doc
make
sudo make install

Install to prefix /usr. (without docs)

cd build
../configure --prefix /usr
make
sudo make install

In-source build is also possible.

./configure
make
sudo make install
[3]Script-headers can be patched to work with python2. It also possible to generate the makefile on a different system (for example in a embedded scenario)

Windows

  • Install Visual Studio 2015 if you want to build for python 3
    • Select Git for Windows in Visual Studio Installer or install it
  • Install Visual Studio 2008 Express
  • Install Windows SDK for Windows Server 2008 and .NET Framework 3.5 (python 2)

Note

To support python 2.7 == Visual Studio 2008, we use c99conv to convert to c89 and we support python 3.5+ == Visual Studio 2015 without c99conv. Any future version of python that uses a newer version of Visual Studio has to added to the build-system explicitly.

python configure
make.cmd

Development

Test dependencies:

  • cppcheck

Unix

cd build
../configure --dev
make test

In development mode the make file has a help:

make

Docker

If a tool is not available on your platform or you have a old version of cppcheck (cppcheck is known to behave very different across versions), you can use the docker based tests.

./ci/alpine.sh

Travis will also run this script, so you can also use it to reproduce errors on travis.

Windows

No development build available.

License

AGPL 3.0

About

Message-passing and actor-based programming for everyone

Resources

License

Stars

Watchers

Forks

Packages

No packages published