old_contents: import sys
  from distutils.core import setup
  
  def identifyPythonVersion():
      """Function to identify python version"""
      py_version = sys.version.split()[0]
      pylibdir = '/usr/lib/python%s/site-packages/fdtcplib/' % py_version[0:3]
      return pylibdir
  
  PYTHON_LIB_PATH = identifyPythonVersion()
  
  setup(name='fdtcp',
        version='0.11',
        description='Fast Data Transfers daemon and third part copy tool',
        author='Justas Balcas',
        author_email='justas.balcas@cern.ch',
        url='https://github.com/juztas/fdtcp',
        download_url = 'https://github.com/juztas/fdtcp/tarball/0.1',
        keywords = ['FDT', 'fast', 'transfers', 'caltech', 'data']
        #packages=['fdtcp'],
        # package_dir = {'': 'src/python'},
        data_files=[('/etc/fdtcp/', ['conf/fdtcp.conf', 'conf/fdtd-system-conf.sh', 'conf/fdtd.conf']),
        (PYTHON_LIB_PATH, ['src/python/__init__.py', 'src/python/fdtcp', 'src/python/fdtd-log-analyzer', 'src/python/fdtd']),
        (str(PYTHON_LIB_PATH + "common/"), ['src/python/common/%s' % x for x in ['TransferFile.py', '__init__.py', 'actions.py', 'errors.py']]),
        (str(PYTHON_LIB_PATH + "utils/"), ['src/python/utils/%s' % x for x in ['Config.py', 'Executor.py', 'Logger.py', '__init__.py', 'utils.py']]),],
        scripts=["bin/fdtd.sh", "bin/wrapper_fdt.sh", "bin/wrapper_kill.sh", "src/python/fdtcp", "src/python/fdtd-log-analyzer", "bin/wrapper_auth.sh"]
        )
  
new_contents: import sys
  from distutils.core import setup
  
  def identifyPythonVersion():
      """Function to identify python version"""
      py_version = sys.version.split()[0]
      pylibdir = '/usr/lib/python%s/site-packages/fdtcplib/' % py_version[0:3]
      return pylibdir
  
  PYTHON_LIB_PATH = identifyPythonVersion()
  
  setup(name='fdtcp',
        version='0.11',
        description='Fast Data Transfers daemon and third part copy tool',
        author='Justas Balcas',
        author_email='justas.balcas@cern.ch',
        url='https://github.com/juztas/fdtcp',
        download_url = 'https://github.com/juztas/fdtcp/tarball/0.1',
        keywords = ['FDT', 'fast', 'transfers', 'caltech', 'data'],
        #packages=['fdtcp'],
        # package_dir = {'': 'src/python'},
        data_files=[('/etc/fdtcp/', ['conf/fdtcp.conf', 'conf/fdtd-system-conf.sh', 'conf/fdtd.conf']),
        (PYTHON_LIB_PATH, ['src/python/__init__.py', 'src/python/fdtcp', 'src/python/fdtd-log-analyzer', 'src/python/fdtd']),
        (str(PYTHON_LIB_PATH + "common/"), ['src/python/common/%s' % x for x in ['TransferFile.py', '__init__.py', 'actions.py', 'errors.py']]),
        (str(PYTHON_LIB_PATH + "utils/"), ['src/python/utils/%s' % x for x in ['Config.py', 'Executor.py', 'Logger.py', '__init__.py', 'utils.py']]),],
        scripts=["bin/fdtd.sh", "bin/wrapper_fdt.sh", "bin/wrapper_kill.sh", "src/python/fdtcp", "src/python/fdtd-log-analyzer", "bin/wrapper_auth.sh"]
        )
  
subject: fix setup.py