old_contents: import sys
  import site
  import platform
  import distutils
  import distutils.core
  from shutil import move, copy2
  from os import path
  
  
  def readme():
      """Return the readme file"""
      with open("README.md") as f:
          return f.read()
  
  distutils.core.setup(name="iridaUploader",
      version="0.1",
      url="http://irida.corefacility.ca/gitlab/rcamba/iridauploader.git",
      author='Kevin Camba',
      author_email='kevin.camba@phac-aspc.gc.ca',
      packages=["API", "Exceptions", "GUI", "Model", "Parsers", "Validation"],
      install_requires=["mock", "rauth", "selenium", "pep8"],
      zip_safe=False
  )
  
  # Assuming only running on either Windows or Linux
  if platform.system() == "Windows":
      py_version = str(sys.version_info.major) + str(sys.version_info.minor)
      dest = path.join(site.USER_BASE, "python" + py_version, "site-packages")
      copy2("./config.conf", dest)
  
      img_dest = path.join(dest,"GUI","images")
      distutils.dir_util.copy_tree("./GUI/images", img_dest)
  
  else:
      ver_info = sys.version_info
      py_version = str(ver_info.major) + "." + str(ver_info.minor)
  
      dest = path.join(site.USER_BASE, "lib", "python" + py_version,
                       "site-packages")
      copy2("./config.conf", dest)
  
      img_dest = path.join(dest,"GUI","images")
      distutils.dir_util.copy_tree("./GUI/images", img_dest)
  
new_contents: import site
  import platform
  import distutils
  import distutils.core
  from shutil import move, copy2
  from os import path, mkdir
  from appdirs import user_config_dir, user_data_dir
  
  
  def readme():
      """Return the readme file"""
      with open("README.md") as f:
          return f.read()
  
  distutils.core.setup(name="iridaUploader",
      version="0.1",
      url="http://irida.corefacility.ca/gitlab/rcamba/iridauploader.git",
      author='Kevin Camba',
      author_email='kevin.camba@phac-aspc.gc.ca',
      packages=["API", "Exceptions", "GUI", "Model", "Parsers", "Validation"],
      install_requires=["mock", "rauth", "selenium", "pep8"],
      zip_safe=False
  )
  
  config_dest = user_config_dir("iridaUploader")
  if not path.isdir(config_dest):
      mkdir(config_dest)
  
  copy2("./config.conf", config_dest)
  
  img_dest = path.join(user_data_dir("iridaUploader"), "images")
  distutils.dir_util.copy_tree("./GUI/images", img_dest)
  
subject: copy images and config file to dir specified by appdirs