Skip to content

Commit d22a9b3

Browse files
committed
mock is not a production requirement
1 parent 2a035a9 commit d22a9b3

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ python:
55
- "3.4"
66
# command to install dependencies
77
install:
8-
- "python setup.py install"
8+
- pip install -e .[test]
99
# command to run tests
1010
script:
11-
- "PYTHONPATH=. python tests/client_test.py"
11+
- python tests/client_test.py

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@
2929
packages=['sift'],
3030
install_requires=[
3131
"requests >= 0.14.1",
32-
"mock >= 1.0.1",
3332
],
33+
extras_require={
34+
'test': [
35+
'mock >= 1.0.1',
36+
],
37+
},
3438

3539
classifiers=[
3640
"Programming Language :: Python",

0 commit comments

Comments
 (0)