mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 20:20:55 +08:00
DEV: setup anaconda build for our packages
This commit is contained in:
committed by
Richard Frank
parent
ac028cef49
commit
6e0812c2f8
@@ -0,0 +1,22 @@
|
||||
package: logbook
|
||||
user: quantopian
|
||||
|
||||
platform:
|
||||
- linux-64
|
||||
engine:
|
||||
- python=2.7
|
||||
- python=3.4
|
||||
|
||||
install:
|
||||
- conda config --add channels quantopian
|
||||
- conda config --set always_yes true
|
||||
|
||||
before_script:
|
||||
- python -V
|
||||
|
||||
script:
|
||||
- conda build conda/logbook/
|
||||
|
||||
iotimeout: 600
|
||||
|
||||
build_targets: conda
|
||||
@@ -0,0 +1,22 @@
|
||||
package: ta-lib
|
||||
user: quantopian
|
||||
|
||||
platform:
|
||||
- linux-64
|
||||
engine:
|
||||
- python=2.7
|
||||
- python=3.4
|
||||
|
||||
install:
|
||||
- conda config --add channels quantopian
|
||||
- conda config --set always_yes true
|
||||
|
||||
before_script:
|
||||
- python -V
|
||||
|
||||
script:
|
||||
- conda build conda/ta-lib/
|
||||
|
||||
iotimeout: 600
|
||||
|
||||
build_targets: conda
|
||||
@@ -0,0 +1,22 @@
|
||||
package: zipline
|
||||
user: quantopian
|
||||
|
||||
platform:
|
||||
- linux-64
|
||||
engine:
|
||||
- python=2.7
|
||||
- python=3.4
|
||||
|
||||
install:
|
||||
- conda config --add channels quantopian
|
||||
- conda config --set always_yes true
|
||||
|
||||
before_script:
|
||||
- python -V
|
||||
|
||||
script:
|
||||
- conda build conda/zipline/
|
||||
|
||||
iotimeout: 600
|
||||
|
||||
build_targets: conda
|
||||
@@ -1,12 +1,16 @@
|
||||
#!/bin/bash
|
||||
wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download
|
||||
tar xvzf ta-lib-0.4.0-src.tar.gz
|
||||
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|
||||
tar xvfz ta-lib-0.4.0-src.tar.gz
|
||||
pushd ta-lib
|
||||
./configure --prefix=$PREFIX
|
||||
make
|
||||
make install
|
||||
popd
|
||||
rm ta-lib-0.4.0-src.tar.gz
|
||||
rm -r ta-lib
|
||||
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib
|
||||
export TA_INCLUDE_PATH=$PREFIX/include
|
||||
export TA_LIBRARY_PATH=$PREFIX/lib
|
||||
python setup.py build
|
||||
python setup.py install --prefix=$PREFIX
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package:
|
||||
name: ta-lib
|
||||
version: !!str 0.4.8
|
||||
version: !!str 0.4.9
|
||||
|
||||
source:
|
||||
fn: TA_Lib-0.4.8.tar.gz
|
||||
url: https://github.com/mrjbq7/ta-lib/archive/TA_Lib-0.4.8.tar.gz
|
||||
fn: TA_Lib-0.4.9.tar.gz
|
||||
url: https://github.com/mrjbq7/ta-lib/archive/TA_Lib-0.4.9.tar.gz
|
||||
md5: f2f6ec8b7d552ff96d53d56ffb7b4e97
|
||||
|
||||
requirements:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user