--
The NIXPY project is an extension to NIX and provides Python bindings for NIX.
The NIXPY project is now in a Beta stage and should not be seen as a final product.
Debian PPA
You can get a ready to install package for Ubuntu "trusty". You have to add & install the following software source to your system:
deb http://ppa.launchpad.net/gnode/nix/ubuntu trusty main
deb-src http://ppa.launchpad.net/gnode/nix/ubuntu trusty main
by executing
sudo add-apt-repository ppa:gnode/nix
sudo apt-get update
sudo apt-get install python-nix
Build NIXPY under Ubuntu 14.04
Dependencies
In order to build the NIXPY library a compiler is needed (gcc, clang). Further nixpy depends on the following libraries:
- Boost (version 1.56 or higher)
- NIX (version 0.10.5 or higher)
- Python (version = 2.7.x) + python-setuptools + python-numpy (version >= 1.8.0)
Instructions
# install dependencies
sudo apt-get install libboost-python-dev build-essential python-dev python-setuptools python-numpy
# clone NIX
git clone https://github.com/G-Node/nixpy
cd nix
# build nixpy
python setup.py build
# run the unit tests
python setup.py test
# install
sudo python setup.py install
Windows Installer
You can get a windows installer for both, 32- and 64-bit.
Build NIXPY under Windows
To build NIXPY under windows follow the guide provided under: Win32.md
The API documentation can be found here