Building and InstallingΒΆ
First of all, download Peafowl:
$ git clone git://github.com/DanieleDeSensi/peafowl.git
$ cd peafowl
To install Peafowl:
$ mkdir build
$ cd build
$ cmake ../
$ make
Then, you can install it:
$ make install
To install it into a non-default directory dir, simply specify the -DCMAKE_INSTALL_PREFIX=dir when calling cmake.
$ pip install --user .
This will install a pypeafowl module.
If you want to build the Peafowl module without installing it:
$ mkdir build
$ cd build
$ cmake ../ -DENABLE_PYTHON=ON
$ make
$ cd ..
Then, simply copy the ./build/src/pypeafowl.so file to your working directory.