forked from vstconsulting/polemarch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox_build.ini
40 lines (38 loc) · 811 Bytes
/
tox_build.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
30
31
32
33
34
35
36
37
38
39
40
[tox]
envlist = py35-build,py{35,36,37}-wheel,auditwheel
skipsdist = True
[testenv]
passenv = *
setenv = CCACHE_DIR = {envdir}/.ccache
whitelist_externals =
ls
rm
bash
grep
mkdir
make
commands =
rm -rf build
build: make compile PY=python {posargs}
wheel: make wheel PY=python {posargs}
deb: make deb PY=python {posargs}
rpm: make rpm PY=python {posargs}
deps =
cython>=0.29,<1.0
wheel==0.31.1
setuptools>=40.6.3
jsmin==2.2.2
csscompressor==0.9.5
{rpm,deb}: virtualenv==16.0
{rpm,deb}: venvctrl
[testenv:auditwheel]
basepython = python3.6
whitelist_externals =
bash
grep
rm
ls
commands =
bash -c "for whl in `ls dist/*.whl | grep -v manylinux`; do auditwheel repair $whl -w dist/; rm $whl; done"
deps =
auditwheel