Skip to content

Commit

Permalink
Merge branch 'master' of git.vstconsulting.net:polemarch/ce into deve…
Browse files Browse the repository at this point in the history
…loper

� Conflicts:
�	tox_build.ini
  • Loading branch information
onegreyonewhite committed Nov 30, 2019
2 parents c027e6a + ba18ebe commit 953f9aa
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions tox_build.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tox]
# envlist = py35-build,py{35,36,37}-wheel
# envlist = py35-build,py{35,36,37}-wheel,auditwheel
envlist = py35-{build,wheel}
skipsdist = True

[testenv]
passenv = *
setenv = CCACHE_DIR = {envdir}/.ccache
whitelist_externals =
ls
rm
Expand All @@ -13,9 +14,9 @@ whitelist_externals =
mkdir
make
commands =
rm -rf build
build: make compile PY=python {posargs}
wheel: make wheel PY=python {posargs}
wheel: bash -c "for whl in `ls dist/*.whl | grep -v manylinux | grep -v none-any`; do auditwheel repair $whl -w dist/ && rm $whl; done"
deb: make deb PY=python {posargs}
rpm: make rpm PY=python {posargs}
deps =
Expand All @@ -26,4 +27,15 @@ deps =
csscompressor==0.9.5
{rpm,deb}: virtualenv==16.0
{rpm,deb}: venvctrl
py{35,36,37}-wheel: auditwheel

[testenv:auditwheel]
basepython = python3.6
whitelist_externals =
bash
grep
rm
ls
commands =
bash -c "for whl in `ls dist/*.whl | grep -v manylinux | grep -v none-any`; do auditwheel repair $whl -w dist/; rm $whl; done"
deps =
auditwheel

0 comments on commit 953f9aa

Please sign in to comment.