Skip to content

Commit 32ac632

Browse files
committed
lock down dependencies so things stop breaking
1 parent ee31526 commit 32ac632

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ python:
99
- 2.7
1010
- 3.3
1111
- 3.4
12+
- 3.5
1213
- pypy
1314
install:
1415
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install ordereddict; fi
1516
- python setup.py install
16-
- pip install git+https://github.com/chfw/pyexcel-xls.git
17-
- pip install git+https://github.com/chfw/pyexcel.git
1817
- pip install -r tests/requirements.txt
1918
script:
2019
make test

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
1515
dependencies.append('ordereddict')
1616

17+
extras = {
18+
'xls': ['pyexcel-xls==0.0.7'],
19+
'xlsx': ['pyexcel-xlsx==0.0.7'],
20+
}
21+
22+
pip install git+https://github.com/chfw/pyexcel-xls.git
23+
- pip install git+https://github.com/chfw/pyexcel.git
1724
setup(
1825
name='pyexcel-io',
1926
author="C. W.",
@@ -22,6 +29,7 @@
2229
url="https://github.com/chfw/pyexcel-io",
2330
description='A python library to read and write structured data in csv, zipped csv format and to/from databases',
2431
install_requires=dependencies,
32+
extras_require=extras,
2533
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
2634
include_package_data=True,
2735
long_description=README_txt,

tests/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ nose-cov
44
python-coveralls
55
coverage
66
SQLAlchemy
7-
pyexcel-xls
7+
pyexcel-xls==0.0.7
8+
-e git+https://github.com/chfw/pyexcel.git@040cd392ec40069ac1a0f6df755694c8216366d8#egg=pyexcel-master

0 commit comments

Comments
 (0)