old_contents: import os
  import sys
  
  from setuptools import find_packages, setup
  
  
  PYTHON3 = sys.version_info > (3, )
  HERE = os.path.abspath(os.path.dirname(__file__))
  
  
  def readme():
      with open(os.path.join(HERE, 'README.rst')) as f:
          return f.read()
  
  
  def get_version():
      with open(os.path.join(HERE, 'xcmd/__init__.py'), 'r') as f:
          content = ''.join(f.readlines())
      env = {}
      if PYTHON3:
          exec(content, env, env)
      else:
          compiled = compile(content, 'get_version', 'single')
          eval(compiled, env, env)
      return env['__version__']
  
  
  setup(
      name='xcmd',
      version=get_version(),
      description='',
      long_description=readme(),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
      ],
      keywords='',
      url='',
      author='rgs',
      author_email='rgs@pinlaptop',
      license='apache',
      packages=find_packages(),
      test_suite='xcmd.tests',
      scripts=['bin/xcmd-shell'],
      install_requires=[],
      tests_require=['nose'],
      extras_require={
          'test': [],
      },
      include_package_data=True,
      zip_safe=False
  )
  
new_contents: import os
  import sys
  
  from setuptools import find_packages, setup
  
  
  PYTHON3 = sys.version_info > (3, )
  HERE = os.path.abspath(os.path.dirname(__file__))
  
  
  def readme():
      with open(os.path.join(HERE, 'README.rst')) as f:
          return f.read()
  
  
  def get_version():
      with open(os.path.join(HERE, 'xcmd/__init__.py'), 'r') as f:
          content = ''.join(f.readlines())
      env = {}
      if PYTHON3:
          exec(content, env, env)
      else:
          compiled = compile(content, 'get_version', 'single')
          eval(compiled, env, env)
      return env['__version__']
  
  
  setup(
      name='xcmd',
      version=get_version(),
      description='',
      long_description=readme(),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: Apache Software License',
          'Programming Language :: Python',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
      ],
      keywords='',
      url='',
      author='rgs',
      author_email='rgs@itevenworks.net',
      license='apache',
      packages=find_packages(),
      test_suite='xcmd.tests',
      scripts=['bin/xcmd-shell'],
      install_requires=[],
      tests_require=['nose'],
      extras_require={
          'test': [],
      },
      include_package_data=True,
      zip_safe=False
  )
  
subject: Fix setup.py