diff --git a/conda/README.md b/conda/README.md index 2443b9e2..4b142e2b 100644 --- a/conda/README.md +++ b/conda/README.md @@ -18,7 +18,9 @@ conda build zipline You can then upload these binary packages to your own channel at [binstar](https://binstar.org). -Note that we currently don't have binary packages for -some platforms so if you successfully build them on anything -we don't provide at [https://binstar.org/twiecki](https://binstar.org/twiecki) -please let us know (especially windows). +Windows +------- + +Building ta-lib on Windows requires Visual Studio (Express) and +the [compiled ta-lib](ta-lib-0.4.0-msvc.zip) which you have to +unzip to C:\ta-lib. \ No newline at end of file diff --git a/conda/ta-lib/build.sh b/conda/ta-lib/build.sh index 60204c47..13c003fa 100644 --- a/conda/ta-lib/build.sh +++ b/conda/ta-lib/build.sh @@ -8,6 +8,5 @@ make install popd export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PREFIX/lib -python setup.py build_ext - -python setup.py install +python setup.py build +python setup.py install --prefix=$PREFIX diff --git a/conda/ta-lib/meta.yaml b/conda/ta-lib/meta.yaml index 7d178fba..70901227 100644 --- a/conda/ta-lib/meta.yaml +++ b/conda/ta-lib/meta.yaml @@ -3,55 +3,22 @@ package: version: !!str 0.4.8 source: - fn: releases - url: https://github.com/mrjbq7/ta-lib/releases - #md5: -# patches: - # List any patch files here - # - fix.patch - -# build: - #preserve_egg_dir: True - #entry_points: - # Put any entry points (scripts to be generated automatically) here. The - # syntax is module:function. For example - # - # - ta-lib = ta-lib:main - # - # Would create an entry point called ta-lib that calls ta-lib.main() - - - # If this is a new build for the same version, increment the build - # number. If you do not include this key, it defaults to 0. - # number: 1 + fn: TA_Lib-0.4.8.tar.gz + url: https://github.com/mrjbq7/ta-lib/archive/TA_Lib-0.4.8.tar.gz requirements: build: - python - + - cython + - numpy run: - python + - numpy test: - # Python imports - # imports: - - #commands: - # You can put test commands to be run here. Use this to test that the - # entry points work. - - - # You can also put a file called run_test.py in the recipe that will be run - # at test time. - - # requires: - # Put any additional test requirements here. For example - # - nose + imports: + - talib about: home: http://github.com/mrjbq7/ta-lib license: BSD License - -# See -# http://docs.continuum.io/conda/build.html for -# more information about meta.yaml diff --git a/conda/zipline/meta.yaml b/conda/zipline/meta.yaml index 0dd33548..78c5ae51 100644 --- a/conda/zipline/meta.yaml +++ b/conda/zipline/meta.yaml @@ -7,21 +7,6 @@ source: url: https://pypi.python.org/packages/source/z/zipline/zipline-0.6.0.tar.gz md5: 75d818c291df133946bb15a1b08ae0d8 -# build: - #preserve_egg_dir: True - #entry_points: - # Put any entry points (scripts to be generated automatically) here. The - # syntax is module:function. For example - # - # - zipline = zipline:main - # - # Would create an entry point called zipline that calls zipline.main() - - - # If this is a new build for the same version, increment the build - # number. If you do not include this key, it defaults to 0. - # number: 1 - requirements: build: - python @@ -33,6 +18,21 @@ requirements: - matplotlib - ta-lib - logbook + run: + - python + - pytz + - requests + - numpy + - pandas + - scipy + - matplotlib + - ta-lib + - logbook + +test: + # Python imports + imports: + - zipline about: home: https://github.com/quantopian/zipline