old_contents: from setuptools import setup, find_packages
  
  import version
  
  setup(
      name = "throw",
      version = version.get_git_version(),
      packages = find_packages(),
  
      entry_points = {
          'console_scripts': ['throw=throw.throw:main'],
      },
  
      install_requires = ['argparse'],
  
      # metadata for upload to PyPI
      author = "Rich Wareham",
      author_email = "rjw57@cam.ac.uk",
      description = "Simply share files from the command line",
      license = "Apache 2.0",
      keywords = "file sharing throw email",
      url = "http://github.com/rjw57/throw",
  
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Topic :: Communications',
          'Topic :: Communications :: Email',
          'Topic :: Communications :: File Sharing',
          'Topic :: Utilities',
  
          # make sure to use :: Python *and* :: Python :: 3 so
          # that pypi can list the package on the python 3 page
          'Programming Language :: Python',
          'Programming Language :: Python :: 3'
      ],
  )
  
new_contents: from setuptools import setup, find_packages
  
  import os
  import version
  
  # 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 = "throw",
      version = version.get_git_version(),
      packages = find_packages(),
  
      entry_points = {
          'console_scripts': ['throw=throw.throw:main'],
      },
  
      install_requires = ['argparse'],
  
      # metadata for upload to PyPI
      author = "Rich Wareham",
      author_email = "rjw57@cam.ac.uk",
      description = "Simply share files from the command line",
      license = "Apache 2.0",
      keywords = "file sharing throw email",
      url = "http://github.com/rjw57/throw",
      long_description = read('README.markdown'),
  
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: OS Independent',
          'Topic :: Communications',
          'Topic :: Communications :: Email',
          'Topic :: Communications :: File Sharing',
          'Topic :: Utilities',
  
          # make sure to use :: Python *and* :: Python :: 3 so
          # that pypi can list the package on the python 3 page
          'Programming Language :: Python',
          'Programming Language :: Python :: 3'
      ],
  )
  
subject: include the README.markdown file as the long description