mx as dependency tox throws GCC error

Albert-Jan Roskam fomcl at yahoo.com
Wed Feb 25 09:43:28 EST 2015


Hi,

If I pip install the mx package with "pip install egenix-mx-base", it works.
If I put that same pip install command under 'install_command' in my tox.ini it also works (see below)

However, if I specify the dependency under 'deps', I get an error. Any idea why? I read that 'install_command' is
still experimental and subject to change, so I would prefer to specify the package under 'deps'.
The error occurred when I called tox using 'tox -e py27', so it is not pypy-related.


[tox]
envlist = pypy,py27,py33,py34,docs
skipsdist = true

[testenv]
deps = 
           setuptools
     nose
     gocept.testing
     numpy
     cython
     # egenix-mx-base  # --> mx tox gcc: error: mx/DateTime/mxDateTime/mxDateTime.c: No such file or directory
install_command = 
           pip install egenix-mx-base {packages}



Thanks!

 
Regards,

Albert-Jan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a 

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 



More information about the Python-list mailing list