[TIP] Tox and setup.py enforcing python version
Carl Meyer
carl at oddbird.net
Wed Jun 3 11:08:43 PDT 2015
On 06/03/2015 12:01 PM, Barry Warsaw wrote:
> On Jun 03, 2015, at 08:12 AM, Florian Bruhin wrote:
>
>> Note only the setup.py has to be syntax-compatible!
>
> Why should that matter? I'm asking philosophically, since a project's
> setup.py *should* be independent of whatever Python the tox application is
> invoked with.
I believe that tox builds the sdist of your project in the host Python,
not inside each tox env.
Carl
>> Note neither Debian nor Ubuntu have a package for a python3 tox:
>
> Correct. We don't package tox as a library so we don't have Python 2 and 3
> versions of it. It's a leaf application so the shebang *should* be
> independent of whatever Python versions it supports. We shebang /usr/bin/tox
> to Python 3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150603/71fb8a8f/attachment.pgp>
More information about the testing-in-python
mailing list