old_contents: #! /usr/bin/env python3
  # -*- coding:Utf8 -*-
  
  #--------------------------------------------------------------------------------------------------------------
  # All necessary import:
  #--------------------------------------------------------------------------------------------------------------
  import os, sys, glob
  
  import setuptools as st
  from distutils.core import setup
  from distutils.command.install_data import install_data
  
  packages = st.find_packages()
  
  #--------------------------------------------------------------------------------------------------------------
  # Call the setup function:
  #--------------------------------------------------------------------------------------------------------------
  setup(
      name        = 'kmsi',
      version     = '0.1',
      description = 'Python Module for analysis gadget simulation.',
      author      = 'Guillaume Plum',
      packages    = packages,
      cmdclass    = {'install_data': install_data},
      # data_files  = [
          # ('share/LibThese/animation-plugins', ["share/LibThese/animation-plugins/__init__.py"]), #glob.glob("share/LibThese/animation-plugins/*.py")),
      # ],
      # scripts = [
          # 'scripts/animationv2.py',
          # 'scripts/models_plot.py',
      # ],
  )
  
  #vim:spelllang=
  
new_contents: #! /usr/bin/env python3
  # -*- coding:Utf8 -*-
  
  #--------------------------------------------------------------------------------------------------------------
  # All necessary import:
  #--------------------------------------------------------------------------------------------------------------
  import os, sys, glob
  
  import setuptools as st
  from distutils.core import setup
  from distutils.command.install_data import install_data
  
  packages = st.find_packages()
  
  #--------------------------------------------------------------------------------------------------------------
  # Call the setup function:
  #--------------------------------------------------------------------------------------------------------------
  setup(
      name        = 'kmsi',
      version     = '0.1',
      description = 'Python Module for analysis gadget simulation.',
      author      = 'Guillaume Plum',
      packages    = packages,
      cmdclass    = {'install_data': install_data},
      data_files  = [
          ('share/kmsi', ["share/kmsi/config.yaml"]), #glob.glob("share/LibThese/animation-plugins/*.py")),
      ],
      scripts = [
          'scripts/kmsi',
      ],
  )
  
  #vim:spelllang=
  
subject: Add the kmsi script to the install files.