
from distutils.core import setup

setup(name='spherical_functions',
      version='1.0',
      description='Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions',
      author='Michael Boyle',
      # author_email='',
      url='https://github.com/moble/spherical_functions',
      package_dir={'spherical_functions': ''},
      packages=['spherical_functions',],
     )


from distutils.core import setup

setup(name='spherical_functions',
      version='1.0',
      description='Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions',
      author='Michael Boyle',
      # author_email='',
      url='https://github.com/moble/spherical_functions',
      packages=['spherical_functions',],
      package_dir={'spherical_functions': ''},
      package_data={'spherical_functions': ['Wigner_coefficients.npy',
                                            'binomial_coefficients.npy',
                                            'ladder_operator_coefficients.npy']},
     )

Copy data files for numpy
Copy data files for numpy

  
  from distutils.core import setup
  
  setup(name='spherical_functions',
        version='1.0',
        description='Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions',
        author='Michael Boyle',
        # author_email='',
        url='https://github.com/moble/spherical_functions',
+       packages=['spherical_functions',],
        package_dir={'spherical_functions': ''},
-       packages=['spherical_functions',],
+       package_data={'spherical_functions': ['Wigner_coefficients.npy',
+                                             'binomial_coefficients.npy',
+                                             'ladder_operator_coefficients.npy']},
       )
  
Copy data files for numpy
## Code Before:

from distutils.core import setup

setup(name='spherical_functions',
      version='1.0',
      description='Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions',
      author='Michael Boyle',
      # author_email='',
      url='https://github.com/moble/spherical_functions',
      package_dir={'spherical_functions': ''},
      packages=['spherical_functions',],
     )

## Instruction:
Copy data files for numpy
## Code After:

from distutils.core import setup

setup(name='spherical_functions',
      version='1.0',
      description='Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions',
      author='Michael Boyle',
      # author_email='',
      url='https://github.com/moble/spherical_functions',
      packages=['spherical_functions',],
      package_dir={'spherical_functions': ''},
      package_data={'spherical_functions': ['Wigner_coefficients.npy',
                                            'binomial_coefficients.npy',
                                            'ladder_operator_coefficients.npy']},
     )
