XND Tools: development tools for the XND project
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.conda
doc
scripts
test
xndlib
xndtools
.appveyor.yml
.gitignore
.travis.yml
LICENSE
README.md
setup.cfg
setup.py
update_xnd.sh

README.md

XND Tools

Travis CI Build Status AppVeyor Build status

XND Tools provides development tools for the XND project. Currently, the following tools are provided:

  • xndtools.kernel_generator - a Python package supporting automatic XND kernel generation using C header files as input.

Prerequisites

  • Define installation prefix. It can be /usr/local, for instance. Or when using conda environment, prefix can be $CONDA_PREFIX:
  export PREFIX=$CONDA_PREFIX
  git clone https://github.com/plures/ndtypes.git
  cd ndtypes
  ./configure --prefix=$PREFIX
  make
  make install
  pip install -U .
  cd ..
  git clone https://github.com/plures/xnd.git
  cd xnd
  ./configure --prefix=$PREFIX --with-includes=$PREFIX/include
  make
  make install
  pip install -U .
  cd ..
  git clone https://github.com/plures/gumath.git
  cd gumath
  ./configure --prefix=$PREFIX --with-includes=$PREFIX/include
  make
  make install
  pip install -U .
  cd ..

Installation

  git clone https://github.com/plures/xndtools.git
  cd xndtools
  pip install -U .

Usage

See xndlib/README.txt and xnd_tools -h.

For example,

  cd xndlib
  python setup.py develop
  py.test -sv xndlib/