From b44fc20e4ebf2f2bcbbb8e94016f60683da38029 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 1 Oct 2013 14:28:11 -0400 Subject: [PATCH] MAINT: Remove msgpack as a dependency. Now that the data serialization uses pandas, msgpack is no longer needed. --- .gitignore | 3 --- README.md | 1 - docs/installation.rst | 1 - etc/requirements.txt | 1 - setup.py | 1 - zipline/data/loader.py | 2 +- 6 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5e994f03..6f7da1df 100644 --- a/.gitignore +++ b/.gitignore @@ -56,8 +56,5 @@ docs/_build/* # database of vbench benchmarks.db -# downloaded data -zipline/data/*.msgpack - # Vagrant temp folder .vagrant diff --git a/README.md b/README.md index 0a6d08ac..8d89ef76 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ Dependencies * numpy (>= 1.6.0) * pandas (>= 0.9.0) * pytz -* msgpack-python * Logbook * blist * requests diff --git a/docs/installation.rst b/docs/installation.rst index 9e40c48f..23ce77b6 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -23,7 +23,6 @@ Dependencies * numpy (>= 1.6.0) * pandas (>= 0.9.0) * pytz -* msgpack-python * iso8601 * Logbook * blist diff --git a/etc/requirements.txt b/etc/requirements.txt index e22ff36b..f90dc4a1 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -1,4 +1,3 @@ -msgpack-python==0.3.0 iso8601==0.1.4 # Logging diff --git a/setup.py b/setup.py index 3567ac03..5d3cd985 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,6 @@ setup( ], install_requires=[ 'delorean', - 'msgpack-python', 'iso8601', 'Logbook', 'blist', diff --git a/zipline/data/loader.py b/zipline/data/loader.py index 323a0d51..53645b8a 100644 --- a/zipline/data/loader.py +++ b/zipline/data/loader.py @@ -185,7 +185,7 @@ Fetching data from Yahoo Finance. fp_tr = get_datafile('treasury_curves.csv', "rb") except IOError: print(""" -data msgpacks aren't distributed with source. +data files aren't distributed with source. Fetching data from data.treasury.gov """).strip() dump_treasury_curves()