import os
from distutils.core import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='django-portfolio',
    version='0.8.0',
    description='Web Worker\'s Portfolio for Django.',
    url='http://github.com/benspaulding/django-portfolio/',
    author='Ben Spaulding',
    author_email='ben@benspaulding.com',
    license='BSD',
    download_url='http://github.com/benspaulding/django-portfolio/tarball/v0.8.0',
    long_description = read('README.rst'),
    packages = ['portfolio'],
    package_data = {'portfolio': ['locale/*/LC_MESSAGES/*',
                                  'templates/portfolio/*']},
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Web Environment',
                 'Framework :: Django',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: BSD License',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Internet :: WWW/HTTP :: Site Management'],
)

import os
from distutils.core import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='django-portfolio',
    version='0.8.0',
    description='Web Worker\'s Portfolio for Django.',
    url='http://github.com/benspaulding/django-portfolio/',
    author='Ben Spaulding',
    author_email='ben@benspaulding.com',
    license='BSD',
    download_url='http://github.com/benspaulding/django-portfolio/tarball/v0.8.0',
    long_description = read('README.rst'),
    packages = ['portfolio', 'portfolio.tests'],
    package_data = {'portfolio': ['locale/*/LC_MESSAGES/*',
                                  'templates/portfolio/*']},
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Web Environment',
                 'Framework :: Django',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: BSD License',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Internet :: WWW/HTTP :: Site Management'],
)

Add tests to package list.
Add tests to package list.

Missed this earlier. Oops.
  import os
  from distutils.core import setup
  
  
  def read(fname):
      return open(os.path.join(os.path.dirname(__file__), fname)).read()
  
  setup(
      name='django-portfolio',
      version='0.8.0',
      description='Web Worker\'s Portfolio for Django.',
      url='http://github.com/benspaulding/django-portfolio/',
      author='Ben Spaulding',
      author_email='ben@benspaulding.com',
      license='BSD',
      download_url='http://github.com/benspaulding/django-portfolio/tarball/v0.8.0',
      long_description = read('README.rst'),
-     packages = ['portfolio'],
+     packages = ['portfolio', 'portfolio.tests'],
      package_data = {'portfolio': ['locale/*/LC_MESSAGES/*',
                                    'templates/portfolio/*']},
      classifiers=['Development Status :: 4 - Beta',
                   'Environment :: Web Environment',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Internet :: WWW/HTTP :: Site Management'],
  )
  
Add tests to package list.
## Code Before:
import os
from distutils.core import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='django-portfolio',
    version='0.8.0',
    description='Web Worker\'s Portfolio for Django.',
    url='http://github.com/benspaulding/django-portfolio/',
    author='Ben Spaulding',
    author_email='ben@benspaulding.com',
    license='BSD',
    download_url='http://github.com/benspaulding/django-portfolio/tarball/v0.8.0',
    long_description = read('README.rst'),
    packages = ['portfolio'],
    package_data = {'portfolio': ['locale/*/LC_MESSAGES/*',
                                  'templates/portfolio/*']},
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Web Environment',
                 'Framework :: Django',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: BSD License',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Internet :: WWW/HTTP :: Site Management'],
)

## Instruction:
Add tests to package list.
## Code After:
import os
from distutils.core import setup


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name='django-portfolio',
    version='0.8.0',
    description='Web Worker\'s Portfolio for Django.',
    url='http://github.com/benspaulding/django-portfolio/',
    author='Ben Spaulding',
    author_email='ben@benspaulding.com',
    license='BSD',
    download_url='http://github.com/benspaulding/django-portfolio/tarball/v0.8.0',
    long_description = read('README.rst'),
    packages = ['portfolio', 'portfolio.tests'],
    package_data = {'portfolio': ['locale/*/LC_MESSAGES/*',
                                  'templates/portfolio/*']},
    classifiers=['Development Status :: 4 - Beta',
                 'Environment :: Web Environment',
                 'Framework :: Django',
                 'Intended Audience :: Developers',
                 'License :: OSI Approved :: BSD License',
                 'Operating System :: OS Independent',
                 'Programming Language :: Python',
                 'Topic :: Internet :: WWW/HTTP :: Site Management'],
)
