old_contents: #!/bin/python2.7
  # -*- coding: utf-8 -*-
  """
  Lucas Ou 2014 -- http://lucasou.com
  
  Setup guide: http://guide.python-distribute.org/creation.html
  python setup.py sdist bdist_wininst upload
  """
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  packages = [
      'newspaper',
      'newspaper.packages',
      'newspaper.packages.tldextract',
      'newspaper.packages.feedparser',
      'newspaper.packages.jieba',
      'newspaper.packages.jieba.posseg',
      'newspaper.packages.jieba.finalseg',
      'newspaper.packages.jieba.analyse'
  ]
  
  # The following libs are bundled in
  # ---------------------------------
  # 'feedparser'
  # 'tldextract==1.2.2'
  # 'jieba'
  
  requires = [
      'lxml',
      'requests',
      'nltk',
      'Pillow',
      'cssselect',
      'BeautifulSoup'
  ]
  
  readme = u''
  _license = u''
  
  try:
      with open('README.rst') as f:
          readme = f.read()
      with open('LICENSE') as f:
          _license = f.read()
  except:
      print ''
  
  setup(
      name='newspaper',
      version='0.0.8',
      description='Simplified python article discovery & extraction.',
      # long_description=readme+'\r\n'+history,
      author='Lucas Ou-Yang',
      author_email='lucasyangpersonal@gmail.com',
      url='https://github.com/codelucas/newspaper/',
      packages=packages,
  
      # TODO: Uhh, what do the following two lines mean?
      # package_data={'': ['LICENSE'], 'newspaper': []},
      # package_dir={'newspaper': 'newspaper'},
  
      include_package_data=True,
      install_requires=requires,
      license=_license,
      zip_safe=False,
  )
  
new_contents: #!/bin/python2.7
  # -*- coding: utf-8 -*-
  """
  Lucas Ou 2014 -- http://lucasou.com
  
  Setup guide: http://guide.python-distribute.org/creation.html
  python setup.py sdist bdist_wininst upload
  """
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  packages = [
      'newspaper',
      'newspaper.packages',
      'newspaper.packages.tldextract',
      'newspaper.packages.feedparser',
      'newspaper.packages.jieba',
      'newspaper.packages.jieba.posseg',
      'newspaper.packages.jieba.finalseg',
      'newspaper.packages.jieba.analyse'
  ]
  
  # The following libs are bundled in
  # ---------------------------------
  # 'feedparser'
  # 'tldextract==1.2.2'
  # 'jieba'
  
  requires = [
      'lxml',
      'requests',
      'nltk',
      'Pillow',
      'cssselect',
      'BeautifulSoup'
  ]
  
  setup(
      name='newspaper',
      version='0.0.8',
      description='Simplified python article discovery & extraction.',
      author='Lucas Ou-Yang',
      author_email='lucasyangpersonal@gmail.com',
      url='https://github.com/codelucas/newspaper/',
      packages=packages,
      include_package_data=True,
      install_requires=requires,
      license=_license,
      zip_safe=False,
  )
  
subject: Reformat setup.py, remove unused code