docs: Use 'prod' and 'dev' requirements files
authorStephen Finucane <stephenfinucane@hotmail.com>
Tue, 7 Apr 2015 21:20:51 +0000 (22:20 +0100)
committerJeremy Kerr <jk@ozlabs.org>
Sun, 3 May 2015 05:46:52 +0000 (13:46 +0800)
Django 1.5 and 1.6 are no longer supported.

    https://docs.djangoproject.com/en/dev/internals/release-process/

As a result, one should not encourage people to develop and/or deploy
against these versions - the latest version of Django supported by
patchwork (currently 1.7) should be used for both.

In addition, rather than duplicating shared requirements for 'dev' and
'prod' environments, move all shared requirements to a "base" file.

Signed-off-by: Stephen Finucane <stephenfinucane@hotmail.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
docs/requirements-base.txt [new file with mode: 0644]
docs/requirements-dev.txt [new file with mode: 0644]
docs/requirements-django-1.5-mysql.txt [deleted file]
docs/requirements-django-1.6-mysql.txt [deleted file]
docs/requirements-django-1.7-mysql.txt [deleted file]
docs/requirements-prod.txt [new file with mode: 0644]

diff --git a/docs/requirements-base.txt b/docs/requirements-base.txt
new file mode 100644 (file)
index 0000000..77dc829
--- /dev/null
@@ -0,0 +1,2 @@
+python-dateutil==1.5
+Django<1.8,>=1.7
diff --git a/docs/requirements-dev.txt b/docs/requirements-dev.txt
new file mode 100644 (file)
index 0000000..eee6463
--- /dev/null
@@ -0,0 +1 @@
+-r requirements-base.txt
diff --git a/docs/requirements-django-1.5-mysql.txt b/docs/requirements-django-1.5-mysql.txt
deleted file mode 100644 (file)
index ea9a77e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-python-dateutil==1.5
-Django==1.5.10
-MySQL-python==1.2.5
diff --git a/docs/requirements-django-1.6-mysql.txt b/docs/requirements-django-1.6-mysql.txt
deleted file mode 100644 (file)
index 6d39511..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-python-dateutil==1.5
-Django==1.6.7
-MySQL-python==1.2.5
diff --git a/docs/requirements-django-1.7-mysql.txt b/docs/requirements-django-1.7-mysql.txt
deleted file mode 100644 (file)
index 21fa438..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-python-dateutil==1.5
-Django==1.7
-MySQL-python==1.2.5
diff --git a/docs/requirements-prod.txt b/docs/requirements-prod.txt
new file mode 100644 (file)
index 0000000..24f97ce
--- /dev/null
@@ -0,0 +1,2 @@
+MySQL-python==1.2.5
+-r requirements-base.txt