Installation

Maloja can be installed from either;

  • a self-contained package or,
  • from a working directory of our git repository.

At this early stage of the project we recommend the second option. These instructions show you how.

The version of Python you use depends on your Operating System. You should run Maloja in the most recent Python available for your OS. Two examples are shown below:

Create a Python virtual environment

Ubuntu Linux 14.04 LTS

  1. Install any necessary development libraries from the package repository of your OS:

    $ sudo apt-get install -y zlib1g-dev libjpeg8-dev python3-dev
    
  2. Install python-virtualenv from the package repository of your OS:

    $ sudo apt-get install python-virtualenv
    
  3. Create a new Python virtual environment:

    $ virtualenv --python=python3.4 ~/py3.4
    
  4. Upgrade your version of pip:

    $ ~/py3.4/bin/pip install --upgrade pip
    

Microsoft Windows 8.1

  1. Ensure the environment variable ‘%USERPROFILE%‘ points to your user directory.

  2. Download and install Python 3.5.1 for Windows.

  3. Create a new Python virtual environment:

    > C:\Program Files (x86)\Python 3.5\python.exe -m venv %USERPROFILE%\py3.5
    
  4. Upgrade your version of pip:

    > %USERPROFILE%\py3.5\Scripts\pip install --upgrade pip
    

Check out the Maloja repository

git clone git@github.com:skyscape-cloud-services/maloja.git
cd maloja

Install Maloja into the Python environment

On Ubuntu Linux 14.04:

$ ~/py3.4/bin/pip install .[dev,docbuild]

On Windows 8.1:

> %USERPROFILE%\py3.5\Scripts\pip install .[dev,docbuild]