From 6ae503e009a735aae70a1c9183e17baa17ac7d22 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Tue, 11 Mar 2014 08:07:13 +0100 Subject: [PATCH] fix for python2.6 and pip 1.5 --- .travis.yml | 2 +- requirements.txt | 3 --- requirements_production.txt | 4 ++++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa70d3d03..21ada7602 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,5 +2,5 @@ language: python python: - "2.6" - "2.7" -install: "pip install -r requirements.txt --use-mirrors" +install: "pip install -r requirements.txt" script: "fab travis_ci" diff --git a/requirements.txt b/requirements.txt index 70c53d1cb..bee236a1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,3 @@ mock==1.0.1 # Requirements for OpenSlides handbook/documentation in alphabetical order Sphinx==1.2b3 sphinx-bootstrap-theme==0.2.4 - -# For Python 2.6 support -argparse==1.2.1 diff --git a/requirements_production.txt b/requirements_production.txt index f593b43f2..ef1748a7c 100644 --- a/requirements_production.txt +++ b/requirements_production.txt @@ -10,3 +10,7 @@ reportlab>=2.7,<2.8 sockjs-tornado>=1.0,<1.1 tornado>=3.1,<3.2 whoosh>=2.5,<2.6 + +# For Python 2.6 support +--allow-external argparse +argparse==1.2.1