[TIP] Tox and setup.py enforcing python version

Robert Collins robertc at robertcollins.net
Wed Jun 3 11:17:07 PDT 2015


On 4 June 2015 at 06:08, Carl Meyer <carl at oddbird.net> wrote:
> 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.

Exactly.

-Rob



-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the testing-in-python mailing list