old_contents: import sys
  import os
  
  from setuptools import setup
  from distutils.sysconfig import get_python_lib
  
  def _template_files():
      result = []
      prefix = 'src/powershift/templates'
      for root, dirs, files in os.walk(prefix, topdown=False):
          for name in files:
              if name.endswith('.json'):
                  if root == prefix:
                      result.append(os.path.join(root[len(prefix):], name))
                  else:
                      result.append(os.path.join(root[len(prefix)+1:], name))
      return result
  
  setup_kwargs = dict(
      name = 'powershift',
      version = '0.1.0',
      description = 'Python library for working with OpenShift 3.',
      author = 'Graham Dumpleton',
      author_email = 'Graham.Dumpleton@gmail.com',
      license = 'BSD',
      packages = ['powershift', 'powershift.resources', 'powershift.endpoints',
                  'powershift.composer', 'powershift.templates'],
      package_dir = {'powershift': 'src/powershift'},
      package_data = {'powershift.templates': _template_files()},
      install_requires = ['Jinja2', 'requests'],
  )
  
  setup(**setup_kwargs)
  
new_contents: import sys
  import os
  
  from setuptools import setup
  
  def _template_files():
      result = []
      prefix = 'src/powershift/templates'
      for root, dirs, files in os.walk(prefix, topdown=False):
          for name in files:
              if name.endswith('.json'):
                  if root == prefix:
                      result.append(os.path.join(root[len(prefix):], name))
                  else:
                      result.append(os.path.join(root[len(prefix)+1:], name))
      return result
  
  long_description = """
  This package provides a Python library for working with the open source
  OpenShift Origin project and downstream OpenShift products from Red Hat.
  
  The library will provide the capability to work with OpenShift/Kubernetes
  resource objects, as well as endpoints for communicating with the OpenShift
  REST API.
  
  The package requires Python 3 and will not work with Python 2.
  """
  
  classifiers = [
      'Development Status :: 4 - Beta',
      'License :: OSI Approved :: BSD License',
      'Programming Language :: Python :: 3',
      'Programming Language :: Python :: 3.3',
      'Programming Language :: Python :: 3.4',
      'Programming Language :: Python :: 3.5',
  ]
  
  setup_kwargs = dict(
      name='powershift',
      version='0.1.0',
      description='Python library for working with OpenShift 3.',
      long_description=long_description,
      url='https://github.com/getwarped/powershift',
      author='Graham Dumpleton',
      author_email='Graham.Dumpleton@gmail.com',
      license='BSD',
      classifiers=classifiers,
      keywords='openshift kubernetes',
      packages=['powershift', 'powershift.resources', 'powershift.endpoints',
                  'powershift.composer', 'powershift.templates'],
      package_dir={'powershift': 'src/powershift'},
      package_data={'powershift.templates': _template_files()},
      install_requires=['Jinja2', 'requests'],
  )
  
  setup(**setup_kwargs)
  
subject: Update setup.py parameters so can use twine to upload to PyPi