Skip to content

Commit 0a7a95d

Browse files
committed
dropping python 2.6 support for now
1 parent 507cec3 commit 0a7a95d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ notifications:
44
env:
55
global:
66
python:
7-
- 2.6
87
- 2.7
98
- 3.3
109
- 3.4
@@ -15,11 +14,9 @@ install:
1514
- pip install git+https://github.com/chfw/pyexcel-xls.git
1615
- pip install -r requirements.txt
1716
- pip install -r test_requirements.txt --use-mirrors
18-
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install pyexcel-ods; fi
19-
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install django==1.6; fi
2017
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install pyexcel-ods; fi
2118
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install django==1.7.1; fi
22-
- if [[ $TRAVIS_PYTHON_VERSION == "3.2" ]]; then pip install django==1.7.1; fi
19+
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install django==1.7.1; fi
2320
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then pip install django==1.7.1; fi
2421
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install git+https://github.com/chfw/ezodf.git; fi
2522
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then pip install git+https://github.com/chfw/ezodf.git; fi

testResponse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pyexcel as pe
44
import pyexcel.ext.xls
55
import pyexcel.ext.xlsx
6-
import pyexcel.ext.ods
76
import json
87
import sys
98
import os
@@ -14,10 +13,12 @@
1413
from collections import OrderedDict
1514

1615
if PY2:
16+
import pyexcel.ext.ods
1717
from StringIO import StringIO
1818
from StringIO import StringIO as BytesIO
1919
else:
2020
from io import BytesIO, StringIO
21+
import pyexcel.ext.ods3
2122

2223

2324
FILE_TYPE_MIME_TABLE = {

0 commit comments

Comments
 (0)