from distutils.core import setup
from Cython.Build import cythonize
import numpy as np

PYBASICBAYES_VERSION = "0.1.2"

# NOTE: cython and moviepy are optional dependencies

ext_modules = cythonize('pybasicbayes/**/*.pyx')
setup(name='pybasicbayes',
      version=PYBASICBAYES_VERSION,
      description="Basic utilities for Bayesian inference",
      author='Matthew James Johnson',
      author_email='mattjj@csail.mit.edu',
      url="http://github.com/mattjj/pybasicbayes",
      maintainer='Matthew James Johnson',
      maintainer_email='mattjj@csail.mit.edu',
      packages=['pybasicbayes',
                  'pybasicbayes.distributions',
                  'pybasicbayes.util',
                  'pybasicbayes.testing'],
      platforms='ALL',
      keywords=['bayesian', 'inference'],
      install_requires=[
          "numpy",
          "scipy",
          "matplotlib",
          "nose",
          "future",
      ],
      classifiers=[
          'Intended Audience :: Science/Research',
          'Programming Language :: Python',
      ],
      ext_modules=ext_modules,
      include_dirs=[np.get_include()])

@@ -113,64 +113,10 @@
 0.1.
-2%22%0A%0A# NOTE: cython and moviepy are optional dependencies
+3%22
 %0A%0Aex
@@ -522,16 +522,29 @@
 ckages=%5B
+%0A            
 'pybasic
@@ -555,38 +555,32 @@
 s',%0A            
-   
-   
 'pybasicbayes.di
@@ -597,38 +597,32 @@
 s',%0A            
-      
 'pybasicbayes.ut
@@ -626,22 +626,16 @@
 .util',%0A
-      
         
@@ -749,24 +749,85 @@
 _requires=%5B%0A
+            # cython and moviepy are optional dependencies%0A  
           %22n
@@ -829,24 +829,26 @@
    %22numpy%22,%0A
+  
           %22s
@@ -864,16 +864,18 @@
         
+  
 %22matplot
@@ -894,16 +894,18 @@
     
+  
 %22nose%22,%0A
     
@@ -896,24 +896,26 @@
     %22nose%22,%0A
+  
           %22f

bump version number for pypi