old_contents: import os
  from distutils.core import setup
  
  LONG_DESCRIPTION = \
  """Galry is a high performance interactive visualization
  package in Python. It lets you visualize and navigate
  into very large plots in real time, by using the graphics
  card as much as possible. Galry is written directly on
  top of PyOpenGL for the highest performance possible."""
  
  if os.path.exists('MANIFEST'):
      os.remove('MANIFEST')
  
  if __name__ == '__main__':
  
      setup(
          name='galry',
          version='0.1.0.dev',  # alpha pre-release
          author='Cyrille Rossant',
          author_email='rossant@github',
          packages=['galry',
                    'galry.managers',
                    'galry.processors',
                    'galry.python_qt_binding',
                    'galry.test',
                    'galry.visuals',
                    'galry.visuals.fontmaps',
                    ],
          package_data={
              'galry': ['cursors/*.png', 'icons/*.png'],
              'galry.visuals': ['fontmaps/*.*'],
              'galry.test': ['autosave/*REF.png'],
          },
          # scripts=[''],
          url='https://github.com/rossant/galry',
          license='LICENSE.md',
          description='High-performance interactive visualization in Python.',
          long_description=LONG_DESCRIPTION,
          install_requires=[
              "numpy >= 1.6",
              "PyOpenGL >= 3.0",
          ],
      )
new_contents: import os
  try:
      from setuptools import setup 
  except ImportError:
      from distutils.core import setup
  
  LONG_DESCRIPTION = \
  """Galry is a high performance interactive visualization
  package in Python. It lets you visualize and navigate
  into very large plots in real time, by using the graphics
  card as much as possible. Galry is written directly on
  top of PyOpenGL for the highest performance possible."""
  
  if os.path.exists('MANIFEST'):
      os.remove('MANIFEST')
  
  if __name__ == '__main__':
  
      setup(
          name='galry',
          version='0.1.0.dev',  # alpha pre-release
          author='Cyrille Rossant',
          author_email='rossant@github',
          packages=['galry',
                    'galry.managers',
                    'galry.processors',
                    'galry.python_qt_binding',
                    'galry.test',
                    'galry.visuals',
                    'galry.visuals.fontmaps',
                    ],
          package_data={
              'galry': ['cursors/*.png', 'icons/*.png'],
              'galry.visuals': ['fontmaps/*.*'],
              'galry.test': ['autosave/*REF.png'],
          },
          # scripts=[''],
          url='https://github.com/rossant/galry',
          license='LICENSE.md',
          description='High-performance interactive visualization in Python.',
          long_description=LONG_DESCRIPTION,
          install_requires=[
              "numpy >= 1.6",
              "PyOpenGL >= 3.0",
          ],
      )
  
subject: Allow use of setuptools/distribute