[v4 3/5] docs: Add base requirements file

Stephen Finucane stephenfinucane at hotmail.com
Mon Mar 23 08:03:21 AEDT 2015


Rather than duplicating shared requirements, move all non-version
dependant requirements to a "base" file.

Signed-off-by: Stephen Finucane <stephenfinucane at hotmail.com>
---
 docs/requirements-base.txt             | 2 ++
 docs/requirements-django-1.5-mysql.txt | 3 +--
 docs/requirements-django-1.6-mysql.txt | 3 +--
 docs/requirements-django-1.7-mysql.txt | 3 +--
 4 files changed, 5 insertions(+), 6 deletions(-)
 create mode 100644 docs/requirements-base.txt

diff --git a/docs/requirements-base.txt b/docs/requirements-base.txt
new file mode 100644
index 0000000..17b0ece
--- /dev/null
+++ b/docs/requirements-base.txt
@@ -0,0 +1,2 @@
+python-dateutil==1.5
+MySQL-python==1.2.5
diff --git a/docs/requirements-django-1.5-mysql.txt b/docs/requirements-django-1.5-mysql.txt
index ea9a77e..7af5673 100644
--- a/docs/requirements-django-1.5-mysql.txt
+++ b/docs/requirements-django-1.5-mysql.txt
@@ -1,3 +1,2 @@
-python-dateutil==1.5
 Django==1.5.10
-MySQL-python==1.2.5
+-r requirements-base.txt
diff --git a/docs/requirements-django-1.6-mysql.txt b/docs/requirements-django-1.6-mysql.txt
index 6d39511..2bb9655 100644
--- a/docs/requirements-django-1.6-mysql.txt
+++ b/docs/requirements-django-1.6-mysql.txt
@@ -1,3 +1,2 @@
-python-dateutil==1.5
 Django==1.6.7
-MySQL-python==1.2.5
+-r requirements-base.txt
diff --git a/docs/requirements-django-1.7-mysql.txt b/docs/requirements-django-1.7-mysql.txt
index 21fa438..282741d 100644
--- a/docs/requirements-django-1.7-mysql.txt
+++ b/docs/requirements-django-1.7-mysql.txt
@@ -1,3 +1,2 @@
-python-dateutil==1.5
 Django==1.7
-MySQL-python==1.2.5
+-r requirements-base.txt
-- 
2.1.0



More information about the Patchwork mailing list