mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-11 11:16:15 +08:00
MAINT: Make talib an optional dependency. Fixes #362.
This commit is contained in:
@@ -19,7 +19,6 @@ requirements:
|
||||
- pandas
|
||||
- scipy
|
||||
- matplotlib
|
||||
- ta-lib
|
||||
- logbook
|
||||
|
||||
test:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user