[Zope-dev] working with different requirements depending on python version

Chris Withers chris at simplistix.co.uk
Sun Jul 1 17:15:18 UTC 2012


On 30/06/2012 18:12, Tres Seaver wrote:
>> How have other people solved this?
>
> For repoze.sendmail, I did two fixups for Python 2.5:
>
> - - I changed 'install_requires' in setup.py based on sys.version_info
>
>    https://github.com/repoze/repoze.sendmail/blob/master/setup.py
>
> - - I pinned the verstion in tox.ini:
>
>    https://github.com/repoze/repoze.sendmail/blob/master/tox.ini

Thanks, that worked for me:

https://github.com/Simplistix/testfixtures/commit/d56035510f7a63793a82b966b8c8c273b379c7a1

https://github.com/Simplistix/checker/commit/a5f8d089a3af7da1f1e8a5dc3182ea5b5345dcf5

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk




More information about the Zope-Dev mailing list