File tree Expand file tree Collapse file tree 5 files changed +21
-16
lines changed Expand file tree Collapse file tree 5 files changed +21
-16
lines changed Original file line number Diff line number Diff line change 1
1
{% extends 'setup.py.jj2' % }
2
2
3
+ {% block platform_block % }
4
+ {% endblock % }
5
+
3
6
{% block additional_keywords % }
4
7
'xls' ,
5
8
'xlsx' ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ before_install:
31
31
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
32
32
mv min_requirements.txt requirements.txt ;
33
33
fi
34
- - pip install --upgrade " setuptools" "pip==7.1"
34
+ - pip install --upgrade setuptools "pip==7.1"
35
35
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
36
36
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
37
37
- pip install -r tests/requirements.txt
Original file line number Diff line number Diff line change @@ -18,13 +18,6 @@ Fonts, colors and charts are not supported.
18
18
Installation
19
19
================================================================================
20
20
21
-
22
- Recently, pyexcel(0.2.2+) and its plugins(0.2.0+) started using newer version of setuptools. Please upgrade your setup tools before install latest pyexcel components:
23
-
24
- .. code-block :: bash
25
-
26
- $ pip install --upgrade setuptools
27
-
28
21
You can install it via pip:
29
22
30
23
.. code-block :: bash
@@ -284,6 +277,13 @@ Development steps for code changes
284
277
285
278
#. git clone https://github.com/pyexcel/pyexcel-xls.git
286
279
#. cd pyexcel-xls
280
+
281
+ Upgrade your setup tools and pip. They are needed for development and testing only:
282
+
283
+ #. pip install --upgrade setuptools "pip==7.1"
284
+
285
+ Then install relevant development requirements:
286
+
287
287
#. pip install -r rnd_requirements.txt # if such a file exists
288
288
#. pip install -r requirements.txt
289
289
#. pip install -r tests/requirements.txt
Original file line number Diff line number Diff line change 16
16
17
17
project = u'pyexcel-xls'
18
18
copyright = u'2015-2016 Onni Software Ltd.'
19
- version = '0.2.2 '
20
- release = '0.2.1 '
19
+ version = '0.2.1 '
20
+ release = '0.2.2 '
21
21
exclude_patterns = []
22
22
pygments_style = 'sphinx'
23
23
html_theme = 'default'
Original file line number Diff line number Diff line change 4
4
from ez_setup import use_setuptools
5
5
use_setuptools ()
6
6
from setuptools import setup , find_packages
7
+ import sys
8
+ PY2 = sys .version_info [0 ] == 2
9
+ PY26 = PY2 and sys .version_info [1 ] < 7
7
10
8
11
NAME = 'pyexcel-xls'
9
12
AUTHOR = 'C.W.'
30
33
'xlrd' ,
31
34
]
32
35
36
+ if PY2 :
37
+ INSTALL_REQUIRES .append ('xlwt' )
38
+ if not PY2 :
39
+ INSTALL_REQUIRES .append ('xlwt-future' )
40
+
33
41
EXTRAS_REQUIRE = {
34
- ':python_version<"3"' : [
35
- 'xlwt'
36
- ],
37
- ':python_version>="3"' : [
38
- 'xlwt-future'
39
- ],
40
42
}
41
43
42
44
CLASSIFIERS = [
You can’t perform that action at this time.
0 commit comments