Mercurial > kallithea
changeset 4503:cb43603edaca
Only use newer versions of Dulwich on Python >= 2.7.
author | Jelmer Vernooij <jelmer@samba.org> |
---|---|
date | Sun, 31 Aug 2014 15:07:36 +0200 |
parents | 5d45eacd6944 |
children | b508659ed5e6 |
files | setup.py |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Tue Aug 26 15:01:24 2014 +0900 +++ b/setup.py Sun Aug 31 15:07:36 2014 +0200 @@ -49,7 +49,6 @@ "celery>=2.2.5,<2.3", "babel>=0.9.6,<=1.3", "python-dateutil>=1.5.0,<2.0.0", - "dulwich>=0.9.3,<=0.9.7", "markdown==2.2.1", "docutils>=0.8.1,<=0.11", "simplejson==2.5.2", @@ -73,6 +72,11 @@ requirements.append("py-bcrypt>=0.3.0,<=0.4") requirements.append("mercurial>=2.8.2,<3.2") +if sys.version_info < (2, 7): + # Dulwich 0.9.6 and later do not support Python2.6. + requirements.append("dulwich>=0.9.3,<=0.9.5") +else: + requirements.append("dulwich>=0.9.3,<=0.9.7") dependency_links = [ ]