Skip to content

Commit a11381c

Browse files
committed
fix sdist creation in tox.ini
For some reason tox deletes the sdist straight after building it, which is spectacularly unhelpful. So bypass tox's installation "magic" and build it ourselves.
1 parent f8775aa commit a11381c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ commands = flake8 setup.py git_explode tests
2727
addopts = -rsxXf
2828

2929
[testenv:sdist]
30-
usedevelop = False
30+
changedir = {toxinidir}
31+
commands = python setup.py sdist

0 commit comments

Comments
 (0)