Package InstallationΒΆ

At the moment the package is available via https://github.com/retostauffer/python-colorspace. A few requirements are needed to be able to use the package and all its features.

A release of the colorspace package on PyPI is planned in the near future. Please use the git issues to report bugs and issues as well as feature requests. There is no guarantee that feature requests can be accommodated, especially as we try to keep both, the R and Python version of the package, around the same level.

Installing via pip

The package can be installed via pip using the following command:

pip install https://github.com/retostauffer/python-colorspace

Cloning the git repository

Alternatively, clone the git repository and install the package:

git clone https://github.com/retostauffer/python-colorspace.git
cd python-colorspace && python setup.py install

Using a virtual environment

The repository contains a Makefile and requirements files to set up virtual environments. Note that this requires make and virtualenv to be installed.

To set up a virtual environments the git repository must be cloned first; afterwards you should be able to set up the virtual environment and install the colorspace package.

# Using the binary 'python3'
git clone https://github.com/retostauffer/python-colorspace.git
cd python-colorspace
make venv3
make install

This will set up a virtual environment and also install the required python packages before installing the latest version of the colorspace package from the repository.