fix broken build
This commit is contained in:
parent
1f9ef757db
commit
31ada0d12c
|
@ -9,4 +9,5 @@
|
|||
{%block custom_install %}
|
||||
- pip install https://github.com/pyexcel/pyexcel-io/archive/master.zip
|
||||
- pip install https://github.com/pyexcel/pyexcel/archive/master.zip
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
|
||||
{%endblock%}
|
|
@ -13,6 +13,7 @@ python:
|
|||
before_install:
|
||||
- pip install https://github.com/pyexcel/pyexcel-io/archive/master.zip
|
||||
- pip install https://github.com/pyexcel/pyexcel/archive/master.zip
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
|
||||
- if [[ -f rnd_requirements.txt ]]; then pip install -r rnd_requirements.txt; fi
|
||||
- pip install -r tests/requirements.txt
|
||||
script:
|
||||
|
|
|
@ -150,13 +150,13 @@ Here is the sample code:
|
|||
>>> # from pyexcel.ext import xls
|
||||
>>> sheet = pe.get_book(file_name="your_file.xls")
|
||||
>>> sheet
|
||||
Sheet Name: Sheet 1
|
||||
Sheet 1:
|
||||
+---+---+---+
|
||||
| 1 | 2 | 3 |
|
||||
+---+---+---+
|
||||
| 4 | 5 | 6 |
|
||||
+---+---+---+
|
||||
Sheet Name: Sheet 2
|
||||
Sheet 2
|
||||
+-------+-------+-------+
|
||||
| row 1 | row 2 | row 3 |
|
||||
+-------+-------+-------+
|
||||
|
@ -186,13 +186,13 @@ You got to wrap the binary content with stream to get xls working:
|
|||
... r = pe.get_book(file_type="xls", file_content=content)
|
||||
... print(r)
|
||||
...
|
||||
Sheet Name: Sheet 1
|
||||
Sheet 1:
|
||||
+---+---+---+
|
||||
| 1 | 2 | 3 |
|
||||
+---+---+---+
|
||||
| 4 | 5 | 6 |
|
||||
+---+---+---+
|
||||
Sheet Name: Sheet 2
|
||||
Sheet 2:
|
||||
+-------+-------+-------+
|
||||
| row 1 | row 2 | row 3 |
|
||||
+-------+-------+-------+
|
||||
|
|
Loading…
Reference in New Issue