old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  readme = open('README.rst').read()
  history = open('HISTORY.rst').read().replace('.. :changelog:', '')
  
  requirements = [
      'Click>=6.7',
      'bioblend',
      'wrapt',
  ]
  
  test_requirements = [
      # TODO: put package test requirements here
  ]
  
  version = '1.0.0-rc1'
  
  setup(
      name='galaxy-parsec',
      version=version,
      description='Command-line utilities to assist in interacting with Galaxy servers (http://galaxyproject.org/).',
      long_description=readme + '\n\n' + history,
      author='Galaxy Project and Community',
      author_email='rasche.eric@gmail.com',
      url='https://github.com/galaxy-iuc/parsec',
      packages=[
          'parsec',
          'parsec.commands',
      ],
      entry_points='''
          [console_scripts]
          parsec=parsec.cli:parsec
      ''',
      package_dir={'parsec': 'parsec'},
      install_requires=requirements,
      license="AFL",
      keywords='parsec',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Environment :: Console',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX',
          'Natural Language :: English',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
      ],
      test_suite='tests',
      tests_require=test_requirements
  )
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import glob
  
  try:
      from setuptools import setup
  except ImportError:
      from distutils.core import setup
  
  readme = open('README.rst').read()
  history = open('HISTORY.rst').read().replace('.. :changelog:', '')
  
  requirements = [
      'Click>=6.7',
      'bioblend',
      'wrapt',
  ]
  
  test_requirements = [
      # TODO: put package test requirements here
  ]
  
  version = '1.0.0-rc1'
  subpackages = [x.replace('/', '.') for x in glob.glob('parsec/commands/*') if not x.endswith('.py')]
  
  setup(
      name='galaxy-parsec',
      version=version,
      description='Command-line utilities to assist in interacting with Galaxy servers (http://galaxyproject.org/).',
      long_description=readme + '\n\n' + history,
      author='Galaxy Project and Community',
      author_email='rasche.eric@gmail.com',
      url='https://github.com/galaxy-iuc/parsec',
      packages=[
          'parsec',
          'parsec.commands',
      ] + subpackages,
      entry_points='''
          [console_scripts]
          parsec=parsec.cli:parsec
      ''',
      package_dir={'parsec': 'parsec'},
      install_requires=requirements,
      license="AFL",
      keywords='parsec',
      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Developers',
          'Environment :: Console',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX',
          'Natural Language :: English',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.4',
          'Programming Language :: Python :: 3.5',
      ],
      test_suite='tests',
      tests_require=test_requirements
  )
  
subject: include all the packages