Installation

Supported systems

  • *nix like OS (Linux, Unix, …)
  • Mac OS

Other operating systems have not been tested and they likely require a more complex procedure for the installation (this includes the Microsoft Windows family..).

We recommend to work in a virtual environment using virtualenv or Anaconda.

Installation requirements

Installing requirements on Ubuntu

with python2

sudo apt-get install python

or python3

sudo apt-get install python3
Installing requirements on Mac OS (using homebrew)

with python2

brew install python

or python3

brew install python3

Installation

First of all make sure to have the latest version of pip installed

pip install --upgrade pip

The package and its python dependencies can be installed running the commands:

pip install --upgrade numpy
pip install --upgrade semilattices
Manual installation

If anything goes wrong with the automatic installation you can try to install from source:

git clone git@bitbucket.org:joshuawchen/semilattices.git
cd semilattices
pip install --upgrade numpy
pip install --upgrade -r requirements.txt
python setup.py install

Running the Unit Tests

Unit tests are available and can be run through the command:

python -m unittest