I am trying to setup a travis continuous build system with my project, which has numpy, scipy and matplotlib in its dependencies. I am targeting python 3.3.
In my .travis.yml
script I am installing numpy and scipy from apt-get, as well as (to be sure) from pip (only numpy). Unfortunatelly, matplotlib build still says that numpy is missing from deps. I tried almost all the methods found on the WEB but most of them do not work (they are outdated I think).
language: python
python:
- "3.3"
install:
- pip install numpy
- pip install colorama
- pip install matplotlib
- pip install nose
script: nosetests
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python3-numpy python3-scipy
Below is the interesting part of travis log. It says that dependence is not satisfied, yet pip command can see numpy installed already from apt.
BUILDING MATPLOTLIB
matplotlib: 1.2.0
python: 3.3.2 (default, May 16 2013, 18:32:41) [GCC 4.6.3]
platform: linux
REQUIRED DEPENDENCIES
numpy: no
* You must install numpy 1.4 or later to build
* matplotlib.
Complete output from command python setup.py egg_info:
basedirlist is: ['/usr/local', '/usr']
numpy
installed: github.com/scipy/scipy/blob/master/.travis.yml – ev-br