MAINT: Make talib an optional dependency. Fixes #362.

This commit is contained in:
Thomas Wiecki
2014-08-04 13:25:46 +02:00
parent e9b7209c13
commit 3f1c3b39ad
4 changed files with 11 additions and 9 deletions
-1
View File
@@ -19,7 +19,6 @@ requirements:
- pandas
- scipy
- matplotlib
- ta-lib
- logbook
test:
-7
View File
@@ -17,12 +17,5 @@ statsmodels==0.5.0
python-dateutil==2.2
six==1.6.1
# Cython is required for TA-Lib
Cython==0.20.1
# This --allow syntax is for compatibility with pip >= 1.5
# However, this is backwards incompatible change, since previous
# versions of pip do not support that flag.
--allow-external TA-Lib --allow-unverified TA-Lib TA-Lib==0.4.8
# For fetching remote data
requests==2.3.0
+7
View File
@@ -24,3 +24,10 @@ tornado==3.2.1
pyparsing==2.0.2
Markdown==2.4.1
# Cython is required for TA-Lib
Cython==0.20.1
# This --allow syntax is for compatibility with pip >= 1.5
# However, this is backwards incompatible change, since previous
# versions of pip do not support that flag.
--allow-external TA-Lib --allow-unverified TA-Lib TA-Lib==0.4.8
+4 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# Copyright 2013 Quantopian, Inc.
# Copyright 2014 Quantopian, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -71,5 +71,8 @@ setup(
'pandas',
'six'
],
extras_require = {
'talib': ["talib"],
},
url="https://github.com/quantopian/zipline"
)