From 476a8c35b54ec5bb8fc9bb90c258452edd9ffce7 Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Wed, 17 Feb 2016 11:48:23 +0100 Subject: [PATCH] Fix the dependency versions Avoid changing the numpy version used in production if installing the package with the --upgrade option --- python/crankshaft/setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python/crankshaft/setup.py b/python/crankshaft/setup.py index 8dcc27a..c32f289 100644 --- a/python/crankshaft/setup.py +++ b/python/crankshaft/setup.py @@ -7,8 +7,6 @@ https://github.com/CartoDB/crankshaft from setuptools import setup, find_packages -REQUIRES = ['pysal','numpy'] - setup( name='crankshaft', @@ -40,9 +38,9 @@ setup( 'test': ['unittest', 'nose', 'mock'], }, - install_requires=REQUIRES, + install_requires=['pysal==1.11.0','numpy==1.6.1'], - requires=REQUIRES, + requires=['pysal', 'numpy'], test_suite='test' )