From ee47ec1d3df6a37342ee6214e4788b470ae62885 Mon Sep 17 00:00:00 2001 From: Jonathan Kamens Date: Wed, 19 Aug 2015 10:38:11 -0400 Subject: [PATCH] BLD: Package all zipline.* modules when building eggs. Rather than specifying only the package "zipline" in setup.py, use `find_packages` to find all the subpackages as well, so they (or, most specifically, their `__init__.py` files) are properly packaged in the egg file. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b19eb7c7..1bcca359 100644 --- a/setup.py +++ b/setup.py @@ -191,7 +191,7 @@ setup( description='A backtester for financial algorithms.', author='Quantopian Inc.', author_email='opensource@quantopian.com', - packages=['zipline'], + packages=find_packages('.', include=['zipline', 'zipline.*']), ext_modules=ext_modules, scripts=['scripts/run_algo.py'], include_package_data=True,