old_contents: #from distutils.core import setup
  from setuptools import setup, find_packages
  
  
  
  setup(name = "gala",
      version = "0.2-dev",
      url = "https://github.com/jni/gala",
      description = "Gala is a python library for performing and evaluating image segmentation.",
      long_description = "Gala is a python library for performing and evaluating of image segmentation. It supports n-dimensional images (images, volumes, videos, videos of volumes...) and multiple channels per image.",
      author = "Juan Nunez-Iglesias",
      author_email = 'jni@janelia.hhmi.org',
      license = 'LICENSE.txt',
      packages = ['gala', 'gala.features'],
      package_data = {'gala': ['testdata/*.*', 'testdata/original_grayscales/*'] },
      install_requires = [ ],
      scripts = ["bin/gala-segmentation-stitch", "bin/gala-segmentation-pipeline", "bin/gala-train", "bin/gala-test-package", "bin/gala-pixel", "bin/comparestacks", "bin/gala-valprob", "bin/gala-auto"]
  )
  
new_contents: #from distutils.core import setup
  from setuptools import setup
  
  descr = """Graph-based active learning of agglomeration
  
  Gala implements a suite of hierarchical segmentation algorithms,
  including the eponymous Graph-based active learning of agglomeration.
  
  In addition, gala contains implementations of many common segmentation
  evaluation functions, such as the variation of information (VI) and the
  adjusted Rand index (ARI).
  """
  
  DISTNAME            = 'gala'
  DESCRIPTION         = 'Hierarchical nD image segmentation algorithms'
  LONG_DESCRIPTION    = descr
  MAINTAINER          = 'Juan Nunez-Iglesias'
  MAINTAINER_EMAIL    = 'jni@janelia.hhmi.org'
  URL                 = 'https://github.com/janelia-flyem/gala'
  LICENSE             = 'Janelia (BSD-like)'
  DOWNLOAD_URL        = 'https://github.com/janelia-flyem/gala'
  VERSION             = '0.2dev'
  PYTHON_VERSION      = (2, 7)
  INST_DEPENDENCIES   = {} 
  
  
  if __name__ == '__main__':
  
      setup(name=DISTNAME,
          version=VERSION,
          url=URL,
          description=DESCRIPTION,
          long_description=LONG_DESCRIPTION,
          author=MAINTAINER,
          author_email=MAINTAINER_EMAIL,
          license=LICENSE,
          packages=['gala', 'gala.features'],
          package_data={'gala':
                        ['testdata/*.*', 'testdata/original_grayscales/*']},
          install_requires=INST_DEPENDENCIES,
          scripts=["bin/gala-segmentation-stitch",
                   "bin/gala-segmentation-pipeline",
                   "bin/gala-train", "bin/gala-test-package",
                   "bin/gala-pixel", "bin/comparestacks",
                   "bin/gala-valprob", "bin/gala-auto"]
      )
  
  
subject: Improve readability and editability of setup.py