Installing EXQUIRES

Basic Installation Instructions

EXQUIRES can be installed from PyPI using pip:

pip install -U exquires

Alternatively, download the source distribution from PyPI, unarchive, and run:

python setup.py install

Detailed Installation Instructions for Debian

The following instructions are for Debian/Ubuntu/Mint Linux. For other platforms, the setup is generally the same, with the exception of installing system dependencies.

Requirements

EXQUIRES requires ImageMagick 6.8.0-2 or newer, VIPS 7.24 or newer, Python 2.7, and the Python packages ConfigObj and NumPy.

Installing ImageMagick from source

  • Install dependencies on Debian/Ubuntu/Mint:
$ sudo apt-get install imagemagick libmagick++-dev subversion
  • Download and extract the ImageMagick source:
$ wget http://www.imagemagick.org/download/ImageMagick.tar.gz
$ tar xvfz ImageMagick.tar.gz
  • Configure, compile and install ImageMagick:
$ cd ImageMagick-6.8.X-X
$ CFLAGS="-march=native -O2" CXXFLAGS="-march=native -O2" ./configure --enable-hdri
$ make
$ sudo make install
  • Configure the dynamic linker run-time bindings:
$ sudo ldconfig /usr/local/lib
  • (Optional) Ensure that the correct version is now installed:
$ identify -version
$ pkg-config --modversion ImageMagick
  • Updating ImageMagick development version:
$ cd ImageMagick-6.8.X-X
$ sudo make uninstall
$ make clean
$ svn update
$ CFLAGS="-march=native -O2" CXXFLAGS="-march=native -O2" ./configure --enable-hdri
$ make
$ sudo make install
$ sudo ldconfig /usr/local/lib

Installing EXQUIRES

  • Install remaining dependencies:
$ sudo apt-get install python-pip python-configobj python-dev python-numpy python-vipscc libvips-tools
  • Install EXQUIRES from PyPI using pip:
$ sudo pip install -U exquires

Installing latest EXQUIRES development branch

  • The latest development version can be installed from the GitHub repository:
sudo pip install -e git+http://github.com/aturcotte/exquires.git#egg=exquires