File tree Expand file tree Collapse file tree 5 files changed +45
-4
lines changed Expand file tree Collapse file tree 5 files changed +45
-4
lines changed Original file line number Diff line number Diff line change 6
6
- pypy
7
7
{%endblock%}
8
8
9
+ {%block extra_matrix%}
10
+ matrix :
11
+ include :
12
+ - python : 2.7
13
+ dist : trusty
14
+ sudo : required
15
+ virtualenv :
16
+ system_site_packages : true
17
+ addons :
18
+ apt :
19
+ packages :
20
+ - python-xlwt
21
+ - python-xlrd
22
+ - python-coverage
23
+ - python-nose
24
+ - python-mock
25
+ {%endblock%}
26
+
9
27
{%block custom_install %}
10
28
- pip install https://github.com/pyexcel/pyexcel-io/archive/master.zip
11
29
- pip install https://github.com/pyexcel/pyexcel/archive/master.zip
Original file line number Diff line number Diff line change @@ -10,6 +10,21 @@ python:
10
10
- 3.3
11
11
- 3.4
12
12
- 3.5
13
+ matrix :
14
+ include :
15
+ - python : 2.7
16
+ dist : trusty
17
+ sudo : required
18
+ virtualenv :
19
+ system_site_packages : true
20
+ addons :
21
+ apt :
22
+ packages :
23
+ - python-xlwt
24
+ - python-xlrd
25
+ - python-coverage
26
+ - python-nose
27
+ - python-mock
13
28
before_install :
14
29
- pip install https://github.com/pyexcel/pyexcel-io/archive/master.zip
15
30
- pip install https://github.com/pyexcel/pyexcel/archive/master.zip
Original file line number Diff line number Diff line change @@ -6,5 +6,6 @@ file_type: xls
6
6
dependencies :
7
7
- pyexcel-io>=0.1.0
8
8
- xlrd
9
- - xlwt-future
9
+ - xlwt;python_version<"3"
10
+ - xlwt-future;python_version>="3"
10
11
description : A wrapper library to read, manipulate and write data in xls format. It reads xlsx and xlsm format
Original file line number Diff line number Diff line change 1
1
pyexcel-io >= 0.1.0
2
2
xlrd
3
- xlwt-future
3
+ xlwt ;python_version < "3"
4
+ xlwt-future ;python_version >= "3"
Original file line number Diff line number Diff line change 24
24
INSTALL_REQUIRES = [
25
25
'pyexcel-io>=0.1.0' ,
26
26
'xlrd' ,
27
- 'xlwt-future' ,
28
27
]
29
28
30
- EXTRAS_REQUIRE = {}
29
+ EXTRAS_REQUIRE = {
30
+ 'python_version<"3"' : [
31
+ 'xlwt'
32
+ ],
33
+ 'python_version>="3"' : [
34
+ 'xlwt-future'
35
+ ],
36
+ }
31
37
32
38
CLASSIFIERS = [
33
39
'Topic :: Office/Business' ,
You can’t perform that action at this time.
0 commit comments