old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import os
  import re
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  with open('README.rst') as readme_file:
      readme = readme_file.read()
  
  with open('HISTORY.rst') as history_file:
      history = history_file.read()
  
  with open('requirements.txt') as f:
      requirements = f.read().splitlines()
  
  version_file = os.path.join('moca', 'version.py')
  fversion = None
  metadata = None
  
  with open(version_file, 'r') as f:
     metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", f.read()))
  
  assert metadata is not None
  fversion = metadata['version'].split('.')
  
  test_requirements = [
      # TODO: put package test requirements here
  ]
  
  MAJOR                 = fversion[0]
  MINOR                 = fversion[1]
  MICRO                 = fversion[2]
  ISRELEASED            = False
  VERSION               = '%s.%s.%s' % (MAJOR, MINOR, MICRO)
  
  setup(
      name='moca',
      version=VERSION,
      description="Tool for motif conservation analysis",
      long_description=readme + '\n\n' + history,
      author="Saket Choudhary",
      author_email='saketkc@gmail.com',
      url='https://github.com/saketkc/moca',
      packages=[
          'moca',
          'moca.helpers',
          'moca.bedoperations',
          'moca.pipeline',
          #'moca.visualiser',
          #'moca.webserver'
      ],
      package_dir={'moca':
                   'moca'},
      include_package_data=True,
      install_requires=requirements,
      license="MIT",
      zip_safe=False,
      keywords='moca',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License (BSD)',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Visualization',
          'Operating System :: POSIX',
          'Operating System :: Unix',
          'Operating System :: MacOS'
      ],
      test_suite='nose2.collector.collector',
      tests_require=test_requirements
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import os
  import re
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  
  with open('README.rst') as readme_file:
      readme = readme_file.read()
  
  with open('HISTORY.rst') as history_file:
      history = history_file.read()
  
  with open('requirements.txt') as f:
      requirements = f.read().splitlines()
  
  version_file = os.path.join('moca', 'version.py')
  fversion = None
  metadata = None
  
  with open(version_file, 'r') as f:
     metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", f.read()))
  
  assert metadata is not None
  fversion = metadata['version'].split('.')
  
  test_requirements = [
      # TODO: put package test requirements here
  ]
  
  MAJOR                 = fversion[0]
  MINOR                 = fversion[1]
  MICRO                 = fversion[2]
  ISRELEASED            = False
  VERSION               = '%s.%s.%s' % (MAJOR, MINOR, MICRO)
  
  setup(
      name='moca',
      version=VERSION,
      description="Tool for motif conservation analysis",
      long_description=readme + '\n\n' + history,
      author="Saket Choudhary",
      author_email='saketkc@gmail.com',
      url='https://github.com/saketkc/moca',
      packages=[
          'moca',
          'moca.helpers',
          'moca.bedoperations',
          'moca.pipeline',
          #'moca.visualiser',
          #'moca.webserver'
      ],
      package_dir={'moca':
                   'moca'},
      include_package_data=True,
      #install_requires=requirements,
      license="MIT",
      zip_safe=False,
      keywords='moca',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License (BSD)',
          'Natural Language :: English',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Visualization',
          'Operating System :: POSIX',
          'Operating System :: Unix',
          'Operating System :: MacOS'
      ],
      test_suite='nose2.collector.collector',
      tests_require=test_requirements
  )
  
subject: Remove install_requires to ease travis