-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtox.ini
29 lines (26 loc) · 856 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
29
# Tox (https://tox.readthedocs.io/en/latest/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py37
skipsdist=True
work_dir=/tmp/tox
temp_dir=/tmp/tox/.tmp
# trick to enable pre-installation of numpy and cython
indexserver =
preinstall = https://pypi.python.org/simple
[testenv]
; setenv = CC=/usr/local/opt/llvm/bin/clang
; setenv = CC=clang
; changedir = {envtmpdir}
deps =
:preinstall: setuptools
:preinstall: cython
:preinstall: numpy
-rrequirements.txt
-rrequirements-test.txt
; git+https://github.com/TruSat/trusat-backend@dev.chris.package#egg=trusat_backend
commands =
python setup.py build_ext -i
python -m unittest discover tests/