From 21dede2d91512778dcd2e8495067ee8373375915 Mon Sep 17 00:00:00 2001 From: Chris Gilmer Date: Fri, 24 Feb 2012 16:42:31 -0800 Subject: [PATCH] Added package_data and removed napespace_packages. Fixed spelling error. This fixes pip install --- setup.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3340fba..48f89be 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ def configuration(parent_package='', top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration(None, parent_package, top_path, - namespace_package=['scikits']) + namespace_packages=['scikits']) config.set_options( ignore_setup_xxx_py=True, @@ -45,8 +45,13 @@ def configuration(parent_package='', top_path=None): name=DISTNAME, version=VERSION, include_package_data=True, + package_data={ + 'scikits': [ + 'crab/datasets/data/*.*', + 'crab/datasets/descr/*.*', + ] + }, install_requires='numpy', - namespace_packages=['scikits'], maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, description=DESCRIPTION,