Re: working with different requirements depending on python version

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.python.testing.general,gmane.comp.python.distutils.devel
Message-ID <[email protected]>
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


_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.