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

1 Jul
2012
1 Jul
'12
10:45 p.m.
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/d56035510f7a63793a82b966b8...
https://github.com/Simplistix/checker/commit/a5f8d089a3af7da1f1e8a5dc3182ea5...
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
3992
Age (days ago)
3992
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Withers