#!/usr/bin/env python

from setuptools import setup

setup(
    name='ckanapi',
    version='3.0-dev',
    description='Thin wrapper around the CKAN Action API',
    license='BSD',
    author='Ian Ward',
    author_email='ian@excess.org',
    url='https://github.com/open-data/ckanapi',
    packages=['ckanapi', 'ckanapi.tests', 'ckanapi.cli'],
    test_suite='ckanapi.tests',
    zip_safe=False,
    entry_points = """
        [console_scripts]
        ckanapi=ckanapi.cli.main:main

        [paste.paster_command]
        ckanapi=ckanapi.cli.paster:CKANAPICommand
        """
    )

@@ -294,16 +294,25 @@
 ckages=%5B
+%0A        
 'ckanapi
@@ -313,16 +313,24 @@
 kanapi',
+%0A       
  'ckanap
@@ -338,16 +338,54 @@
 .tests',
+%0A        'ckanapi.tests.mock',%0A       
  'ckanap
@@ -390,16 +390,26 @@
 api.cli'
+,%0A        
 %5D,%0A    t

include ckanapi.tests.mock in package