text: # Author: Tarik Salameh
  
  """
  Setup script for peakachu.
  
  This is a free software under GPLv3. Therefore, you can modify, redistribute
  or even mix it with other GPL-compatible codes. See the file LICENSE
  included with the distribution for more details.
  
  """
  import os, sys, peakachu, glob
  import setuptools
  
  if (sys.version_info.major!=3) or (sys.version_info.minor<6):
      print('PYTHON 3.5+ IS REQUIRED. YOU ARE CURRENTLY USING PYTHON {}'.format(sys.version.split()[0]))
      sys.exit(2)
  
  # Guarantee Unix Format
  for src in glob.glob('scripts/*'):
      text = open(src, 'r').read().replace('\r\n', '\n')
      open(src, 'w').write(text)
  
  setuptools.setup(
      name = 'peakachu',
      version = peakachu.__version__,
      author = peakachu.__author__,
      author_email = 'tariksalameh@gmail.com',
      url = 'https://github.com/tariks/peakachu/',
      description = 'Identify DNA loops from genome-wide contact matrix.',
      keywords = 'Hi-C interaction contact loop peak cooler',
      packages = setuptools.find_packages(),
      scripts = glob.glob('scripts/*'),
      long_description = 'test description',
      classifiers = [
          'Programming Language :: Python :: 3.6',
          'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
          'Operating System :: POSIX',
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Science/Research',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          ]
      )
  
  