import os
from distutils.core import setup, find_packages

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "DataShape",
    version = "0.1.0",
    author = "Continuum Analytics",
    author_email = "blaze-dev@continuum.io",
    description = ("A data description language."),
    license = "BSD",
    keywords = "data language",
    url = "http://packages.python.org/datashape",
    packages = ["datashape", "datashape.test"],
    long_description = read('README.md'),
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development",
        "License :: OSI Approved :: BSD License",
    ],
)

import os
from distutils.core import setup

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "DataShape",
    version = "0.1.0",
    author = "Continuum Analytics",
    author_email = "blaze-dev@continuum.io",
    description = ("A data description language."),
    license = "BSD",
    keywords = "data language",
    url = "http://packages.python.org/datashape",
    packages = ["datashape", "datashape.tests"],
    long_description = read('README.md'),
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development",
        "License :: OSI Approved :: BSD License",
    ],
)

Remove find_packages import, it's not in distutils
Remove find_packages import, it's not in distutils

  import os
- from distutils.core import setup, find_packages
+ from distutils.core import setup
  
  # Utility function to read the README file.
  # Used for the long_description.  It's nice, because now 1) we have a top level
  # README file and 2) it's easier to type in the README file than to put a raw
  # string in below ...
  def read(fname):
      return open(os.path.join(os.path.dirname(__file__), fname)).read()
  
  setup(
      name = "DataShape",
      version = "0.1.0",
      author = "Continuum Analytics",
      author_email = "blaze-dev@continuum.io",
      description = ("A data description language."),
      license = "BSD",
      keywords = "data language",
      url = "http://packages.python.org/datashape",
-     packages = ["datashape", "datashape.test"],
+     packages = ["datashape", "datashape.tests"],
      long_description = read('README.md'),
      classifiers = [
          "Development Status :: 3 - Alpha",
          "Intended Audience :: Developers",
          "Topic :: Software Development",
          "License :: OSI Approved :: BSD License",
      ],
  )
  
Remove find_packages import, it's not in distutils
## Code Before:
import os
from distutils.core import setup, find_packages

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "DataShape",
    version = "0.1.0",
    author = "Continuum Analytics",
    author_email = "blaze-dev@continuum.io",
    description = ("A data description language."),
    license = "BSD",
    keywords = "data language",
    url = "http://packages.python.org/datashape",
    packages = ["datashape", "datashape.test"],
    long_description = read('README.md'),
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development",
        "License :: OSI Approved :: BSD License",
    ],
)

## Instruction:
Remove find_packages import, it's not in distutils
## Code After:
import os
from distutils.core import setup

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "DataShape",
    version = "0.1.0",
    author = "Continuum Analytics",
    author_email = "blaze-dev@continuum.io",
    description = ("A data description language."),
    license = "BSD",
    keywords = "data language",
    url = "http://packages.python.org/datashape",
    packages = ["datashape", "datashape.tests"],
    long_description = read('README.md'),
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "Topic :: Software Development",
        "License :: OSI Approved :: BSD License",
    ],
)
