Issue #96 on hold
Can't have a Python 3 setup.py
Let's say your setup.py is only Python 3 compatible. tox set up fails when building the sdist:
% tox -e py33 GLOB sdist-make: .../setup.py ERROR: invocation failed, logfile: .../.tox/log/tox-0.log ERROR: actionid=tox msg=packaging cmdargs=['/usr/bin/python', local('.../setup.py'), 'sdist', '--formats=zip', '--dist-dir', local('.../.tox/dist')] env=None Traceback (most recent call last): File "setup.py", line 18, in <module> with open('.../version.txt', encoding='utf-8') as fp: TypeError: 'encoding' is an invalid keyword argument for this function ERROR: FAIL could not package project
There doesn't seem to be a way to configure this in the tox.ini, though I could be missing it of course.