From b574195a0de904a77cff8d2c8441340325d23e3e Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Sun, 27 May 2012 21:22:16 -0400 Subject: [PATCH] Added example c extension. --- etc/requirements_sci.txt | 19 ++++++++++--------- zipline/speedups/example.pyx | 3 +++ 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 zipline/speedups/example.pyx diff --git a/etc/requirements_sci.txt b/etc/requirements_sci.txt index 4ed7d007..8b802306 100644 --- a/etc/requirements_sci.txt +++ b/etc/requirements_sci.txt @@ -1,18 +1,19 @@ -#date related +# Date Related pytz==2011n python-dateutil==1.5 -#core scientific python -numpy==1.6.1 -scipy==0.10.0 +# Core scientific python +numpy>=1.6.1 +pandas>=0.7.0rc1 +#scipy>=0.10.0 + matplotlib==1.1.0 #http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.0/matplotlib-1.1.0.tar.gz + numexpr==2.0.1 Cython==0.15.1 -tables==2.3.1 -scikits.statsmodels==0.3.1 -pandas==0.7.0rc1 +#tables>=2.3.1 +#scikits.statsmodels>=0.3.1 -#zeromq related +# ZeroMQ pyzmq==2.1.11 - diff --git a/zipline/speedups/example.pyx b/zipline/speedups/example.pyx new file mode 100644 index 00000000..befd4ae7 --- /dev/null +++ b/zipline/speedups/example.pyx @@ -0,0 +1,3 @@ +from libc.stdio cimport printf + +printf("Hello World!")