mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 04:32:47 +08:00
BLD: Updates to conda build files. Now builds on windows.
This commit is contained in:
+6
-4
@@ -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.
|
||||
@@ -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
|
||||
|
||||
+7
-40
@@ -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
|
||||
|
||||
+15
-15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user