new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import os
  import platform
  import subprocess
  
  
  
  # Identify the type of operating system for install packages
  OS = platform.dist()[0].lower()
  
  if OS == "fedora" or OS == "redhat":
      install = "sudo yum install "
  elif OS == "ubuntu" or OS == "debian":
      install = "sudo apt-get install "
  else:
      print "Automatic installation is not available on your system.\n" \
          "Please install the system using a description in the 'README.md'"
      exit(1)
  
  
  # It was installed packages: 'pip' and 'virtualenv'
  with open("/dev/null", "a") as null:
      # If the command 'which' the back 1, the package is not installed
      if subprocess.call(["which", "pip"], stdout=null) is 1:
          os.system(install + "python-pip" + " -y")
  
      if subprocess.call(["which", "virtualenv"], stdout=null) is 1:
          os.system(install + "virtualenv" + " -y")
  
  
  # Configure virtual environment ('virtualenv')
  os.system("sudo virtualenv pears_env")
  os.system("bash --rcfile pears_env/bin/activate")
  
  
  # Installing dependencies
  os.system("cd pears_env/bin/ ; sudo -H pip2 install -r ../../requirements.txt")
  os.system("cd ../../")
  
  
  # Get the semantic space
  os.system("wget aurelieherbelot.net/pears-demo/wikiwoods.dump.bz2")
  os.system("./uncompress_db wikiwoods.dump.bz2")
  
subject: Fix #6: Added auto-setup script