From c26a6442e5cb0ac713c1b03e4b8962140a76e2e9 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Mon, 15 Oct 2012 21:21:38 -0400 Subject: [PATCH] Moves project back over to using setuptools. distutils was throwing errors about install_requires nor was it successfully uploading to PyPI. We'll look at distutils2 when it's pulled into core. --- setup.py | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/setup.py b/setup.py index c4c1046a..aebf6446 100644 --- a/setup.py +++ b/setup.py @@ -14,20 +14,14 @@ # See the License for the specific language governing permissions and # limitations under the License. -from distutils.core import setup +from setuptools import setup, find_packages setup(name='zipline', version='0.5.0', description='A backtester for financial algorithms.', author='Quantopian Inc.', author_email='opensource@quantopian.com', - packages=[ - 'zipline', - 'zipline.finance', - 'zipline.gens', - 'zipline.optimize', - 'zipline.utils' - ], + packages=find_packages(), long_description=open('README.md').read(), license='Apache 2.0', classifiers=[ @@ -50,5 +44,6 @@ setup(name='zipline', 'pytz', 'numpy', 'pandas' - ] + ], + url="https://github.com/quantopian/zipline" )