
from distutils.core import setup

scripts = ['sed_fit', 'sed_plot', 'sed_filter_output', 'sed_fitinfo2data', 'sed_fitinfo2ascii']

setup(name='sedfitter',
      version='0.1.1',
      description='SED Fitter in python',
      author='Thomas Robitaille',
      author_email='trobitaille@cfa.harvard.edu',
      packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.utils'],
      scripts=['scripts/' + x for x in scripts]
     )


from distutils.core import setup

scripts = ['sed_fit', 'sed_plot', 'sed_filter_output', 'sed_fitinfo2data', 'sed_fitinfo2ascii']

setup(name='sedfitter',
      version='0.1.1',
      description='SED Fitter in python',
      author='Thomas Robitaille',
      author_email='trobitaille@cfa.harvard.edu',
      packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.source', 'sedfitter.utils'],
      scripts=['scripts/' + x for x in scripts]
     )

Add sedfitter.source to list of sub-packages to install (otherwise results in ImportError)
Add sedfitter.source to list of sub-packages to install (otherwise results in ImportError)
  
  from distutils.core import setup
  
  scripts = ['sed_fit', 'sed_plot', 'sed_filter_output', 'sed_fitinfo2data', 'sed_fitinfo2ascii']
  
  setup(name='sedfitter',
        version='0.1.1',
        description='SED Fitter in python',
        author='Thomas Robitaille',
        author_email='trobitaille@cfa.harvard.edu',
-       packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.utils'],
+       packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.source', 'sedfitter.utils'],
        scripts=['scripts/' + x for x in scripts]
       )
  
Add sedfitter.source to list of sub-packages to install (otherwise results in ImportError)
## Code Before:

from distutils.core import setup

scripts = ['sed_fit', 'sed_plot', 'sed_filter_output', 'sed_fitinfo2data', 'sed_fitinfo2ascii']

setup(name='sedfitter',
      version='0.1.1',
      description='SED Fitter in python',
      author='Thomas Robitaille',
      author_email='trobitaille@cfa.harvard.edu',
      packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.utils'],
      scripts=['scripts/' + x for x in scripts]
     )

## Instruction:
Add sedfitter.source to list of sub-packages to install (otherwise results in ImportError)
## Code After:

from distutils.core import setup

scripts = ['sed_fit', 'sed_plot', 'sed_filter_output', 'sed_fitinfo2data', 'sed_fitinfo2ascii']

setup(name='sedfitter',
      version='0.1.1',
      description='SED Fitter in python',
      author='Thomas Robitaille',
      author_email='trobitaille@cfa.harvard.edu',
      packages=['sedfitter', 'sedfitter.convolve', 'sedfitter.filter', 'sedfitter.sed', 'sedfitter.source', 'sedfitter.utils'],
      scripts=['scripts/' + x for x in scripts]
     )
