import imp
from setuptools import setup

imp.load_source('bamboo_version', 'bamboo/lib/version.py')
from bamboo_version import VERSION_NUMBER

setup(
    name='bamboo-server',
    version=VERSION_NUMBER,
    author='Modi Research Group',
    author_email='info@modilabs.org',
    packages=['bamboo',
              'bamboo.config',
              'bamboo.controllers',
              'bamboo.core',
              'bamboo.lib',
              'bamboo.models',
              'bamboo.tests.core',
              'bamboo.tests.controllers',
              'bamboo.tests.lib',
              'bamboo.tests.models',
              ],
    package_data={'bamboo.tests': ['tests/fixtures/*.csv',
                                   'tests/fixtures/*.json',
                                   ],
                  },
    scripts=['scripts/bamboo.sh',
             'scripts/bamboo_uwsgi.sh',
             'scripts/commands.sh',
             'scripts/install.sh',
             'scripts/run_server.py',
             'scripts/test.sh',
             'scripts/timeit.sh',
             'celeryd/celeryd',
             'celeryd/celeryd-centos'],
    url='http://bamboo.io',
    description='Dynamic data analysis over the web. The logic to your data '
                'dashboards.',
    long_description=open('README.rst', 'rt').read(),
    install_requires=[
        # celery requires python-dateutil>=1.5,<2.0
        'python-dateutil==1.5',

        # for pandas
        'numpy',
        'pandas',
        'scipy',

        # for celery
        'kombu',
        'celery',
        'pymongo',

        'cherrypy',
        'pyparsing',
        'simplejson',
        'Routes'
    ],
)

@@ -136,16 +136,17 @@
 NUMBER%0A%0A
+%0A
 setup(%0A 
@@ -266,24 +266,52 @@
 ilabs.org',%0A
+    license='BSD 3-clause',%0A
     packages
@@ -623,32 +623,16 @@
 .models'
-,%0A              
 %5D,%0A    p
@@ -747,66 +747,9 @@
 son'
-,%0A                                   %5D,%0A                  
+%5D
 %7D,%0A 
@@ -1596,18 +1596,13 @@
 'Routes'
-%0A    
 %5D,%0A)%0A

add license to setup