-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
28 lines (28 loc) · 879 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[flake8]
ignore = E501,F403,E226,E265
exclude = .git,__pycache__,build,.tox,dist,yacctab.py,lextab.py
[tox]
envlist = py26,py27
[testenv]
setenv=
PYTHONPATH =
C_INCLUDE_PATH = /usr/lib/openmpi/include
PETSC_CONFIGURE_OPTIONS="--download-ctetgen --download-triangle --download-chaco"
# python will import relative to the current working directory by default,
# so cd into the tox working directory to avoid picking up the working
# copy of the files
changedir = {toxworkdir}
deps=
numpy>=1.6.1
Cython>=0.17
pip>=1.5
# We need to install another set of dependencies separately, because they
# depend of some of those specified in deps (NumPy et.al.)
commands=
pip install --download-cache={toxworkdir}/_download -r {toxinidir}/requirements.txt
make -C {toxinidir} {posargs:test}
[testenv:py26]
deps=
argparse
ordereddict
{[testenv]deps}