2014-04-24 15:41:58 +00:00
|
|
|
[deps]
|
2014-07-28 14:01:21 +00:00
|
|
|
base =
|
|
|
|
South==1.0.0
|
|
|
|
django-compressor>=1.4
|
|
|
|
django-libsass>=0.2
|
|
|
|
django-modelcluster>=0.3
|
2014-08-27 10:11:00 +00:00
|
|
|
django-taggit==0.12.1
|
2014-07-28 14:01:21 +00:00
|
|
|
django-treebeard==2.0
|
|
|
|
Pillow>=2.3.0
|
|
|
|
beautifulsoup4>=4.3.2
|
|
|
|
html5lib==0.999
|
|
|
|
Unidecode>=0.04.14
|
|
|
|
six==1.7.3
|
|
|
|
requests==2.3.0
|
2014-07-02 16:31:06 +00:00
|
|
|
elasticsearch==1.1.0
|
2014-07-02 16:14:34 +00:00
|
|
|
mock==1.0.1
|
2014-07-18 13:54:30 +00:00
|
|
|
python-dateutil==2.2
|
2014-09-16 08:18:49 +00:00
|
|
|
pytz==2014.7
|
2014-07-28 14:01:21 +00:00
|
|
|
Embedly
|
|
|
|
coverage
|
|
|
|
|
|
|
|
dj16 =
|
|
|
|
Django>=1.6,<1.7
|
|
|
|
|
|
|
|
|
|
|
|
dj17 =
|
|
|
|
https://github.com/django/django/archive/stable/1.7.x.zip#egg=django
|
|
|
|
|
|
|
|
py2 =
|
|
|
|
unicodecsv>=0.9.4
|
|
|
|
|
|
|
|
py3 =
|
|
|
|
|
2014-04-24 15:41:58 +00:00
|
|
|
|
2014-04-24 14:19:43 +00:00
|
|
|
[tox]
|
2014-07-28 14:01:21 +00:00
|
|
|
skipsdist = True
|
|
|
|
usedevelop = True
|
|
|
|
|
2014-04-24 14:19:43 +00:00
|
|
|
envlist =
|
2014-04-24 15:41:58 +00:00
|
|
|
py26-dj16-postgres,
|
|
|
|
py26-dj16-sqlite,
|
2014-04-24 14:34:59 +00:00
|
|
|
py27-dj16-postgres,
|
2014-07-02 16:14:34 +00:00
|
|
|
py27-dj16-sqlite,
|
2014-07-02 20:45:38 +00:00
|
|
|
py32-dj16-postgres,
|
2014-07-02 16:14:34 +00:00
|
|
|
py33-dj16-postgres,
|
2014-07-28 14:01:21 +00:00
|
|
|
py34-dj16-postgres,
|
|
|
|
|
|
|
|
py27-dj17-postgres,
|
|
|
|
py27-dj17-sqlite,
|
|
|
|
py32-dj17-postgres,
|
2014-08-27 14:43:46 +00:00
|
|
|
py32-dj17-sqlite,
|
2014-07-28 14:01:21 +00:00
|
|
|
py33-dj17-postgres,
|
2014-08-27 14:43:46 +00:00
|
|
|
py33-dj17-sqlite,
|
|
|
|
py34-dj17-postgres,
|
|
|
|
py34-dj17-sqlite
|
2014-05-01 13:48:51 +00:00
|
|
|
|
|
|
|
# mysql not currently supported
|
|
|
|
# (wagtail.wagtailimages.tests.TestImageEditView currently fails with a
|
|
|
|
# foreign key constraint error)
|
|
|
|
# py26-dj16-mysql
|
|
|
|
# py27-dj16-mysql
|
2014-04-24 14:19:43 +00:00
|
|
|
|
2014-07-02 16:14:34 +00:00
|
|
|
# South fails with sqlite on python3, because it tries to use DryRunMigrator which uses iteritems
|
2014-07-03 11:11:34 +00:00
|
|
|
# py32-dj16-sqlite,
|
2014-07-02 16:14:34 +00:00
|
|
|
# py33-dj16-sqlite,
|
|
|
|
# py34-dj16-sqlite
|
|
|
|
|
|
|
|
|
2014-04-24 14:19:43 +00:00
|
|
|
[testenv]
|
2014-07-28 14:01:21 +00:00
|
|
|
commands=coverage run runtests.py
|
2014-04-24 14:19:43 +00:00
|
|
|
|
2014-04-24 15:41:58 +00:00
|
|
|
[testenv:py26-dj16-postgres]
|
|
|
|
basepython=python2.6
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-04-24 15:41:58 +00:00
|
|
|
{[deps]dj16}
|
2014-07-02 16:31:06 +00:00
|
|
|
psycopg2==2.5.3
|
2014-04-24 15:41:58 +00:00
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py26-dj16-sqlite]
|
|
|
|
basepython=python2.6
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-04-24 15:41:58 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
2014-05-01 11:21:17 +00:00
|
|
|
[testenv:py26-dj16-mysql]
|
|
|
|
basepython=python2.6
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-05-01 11:21:17 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
MySQL-python==1.2.5
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.mysql
|
|
|
|
DATABASE_USER=wagtail
|
|
|
|
|
2014-04-24 14:19:43 +00:00
|
|
|
[testenv:py27-dj16-postgres]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-04-24 15:41:58 +00:00
|
|
|
{[deps]dj16}
|
2014-07-02 16:31:06 +00:00
|
|
|
psycopg2==2.5.3
|
2014-04-24 14:34:59 +00:00
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py27-dj16-sqlite]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-04-24 15:41:58 +00:00
|
|
|
{[deps]dj16}
|
2014-04-24 14:34:59 +00:00
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
2014-05-01 11:21:17 +00:00
|
|
|
|
|
|
|
[testenv:py27-dj16-mysql]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
2014-05-01 11:21:17 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
MySQL-python==1.2.5
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.mysql
|
|
|
|
DATABASE_USER=wagtail
|
2014-07-02 16:14:34 +00:00
|
|
|
|
2014-07-02 20:45:38 +00:00
|
|
|
[testenv:py32-dj16-postgres]
|
|
|
|
basepython=python3.2
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 20:45:38 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
psycopg2==2.5.3
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py32-dj16-sqlite]
|
|
|
|
basepython=python3.2
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 20:45:38 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
2014-07-02 16:14:34 +00:00
|
|
|
[testenv:py33-dj16-postgres]
|
|
|
|
basepython=python3.3
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 16:14:34 +00:00
|
|
|
{[deps]dj16}
|
2014-07-02 16:31:06 +00:00
|
|
|
psycopg2==2.5.3
|
2014-07-02 16:14:34 +00:00
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py33-dj16-sqlite]
|
|
|
|
basepython=python3.3
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 16:14:34 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
|
|
|
[testenv:py34-dj16-postgres]
|
|
|
|
basepython=python3.4
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 16:14:34 +00:00
|
|
|
{[deps]dj16}
|
2014-07-02 16:31:06 +00:00
|
|
|
psycopg2==2.5.3
|
2014-07-02 16:14:34 +00:00
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py34-dj16-sqlite]
|
|
|
|
basepython=python3.4
|
|
|
|
deps =
|
2014-07-28 14:01:21 +00:00
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
2014-07-02 16:14:34 +00:00
|
|
|
{[deps]dj16}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
2014-07-28 14:01:21 +00:00
|
|
|
|
|
|
|
[testenv:py27-dj17-postgres]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
|
|
|
{[deps]dj17}
|
|
|
|
psycopg2==2.5.3
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py27-dj17-sqlite]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
|
|
|
{[deps]dj17}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
|
|
|
[testenv:py27-dj17-mysql]
|
|
|
|
basepython=python2.7
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py2}
|
|
|
|
{[deps]dj17}
|
|
|
|
MySQL-python==1.2.5
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.mysql
|
|
|
|
DATABASE_USER=wagtail
|
|
|
|
|
|
|
|
[testenv:py32-dj17-postgres]
|
|
|
|
basepython=python3.2
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
psycopg2==2.5.3
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py32-dj17-sqlite]
|
|
|
|
basepython=python3.2
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
|
|
|
[testenv:py33-dj17-postgres]
|
|
|
|
basepython=python3.3
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
psycopg2==2.5.3
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py33-dj17-sqlite]
|
|
|
|
basepython=python3.3
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|
|
|
|
|
|
|
|
[testenv:py34-dj17-postgres]
|
|
|
|
basepython=python3.4
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
psycopg2==2.5.3
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
|
|
|
|
|
|
|
|
[testenv:py34-dj17-sqlite]
|
|
|
|
basepython=python3.4
|
|
|
|
deps =
|
|
|
|
{[deps]base}
|
|
|
|
{[deps]py3}
|
|
|
|
{[deps]dj17}
|
|
|
|
setenv =
|
|
|
|
DATABASE_ENGINE=django.db.backends.sqlite3
|